doc: add section on inkscape plugins

This commit is contained in:
tropf 2025-03-19 17:58:21 +01:00
parent 6509831a88
commit f2e0c05a46
3 changed files with 36 additions and 0 deletions

View File

@ -14,6 +14,7 @@ fish.section.md
fuse.section.md
geant4.section.md
ibus.section.md
inkscape.section.md
kakoune.section.md
krita.section.md
linux.section.md

View File

@ -0,0 +1,29 @@
# Inkscape {#sec-inkscape}
[Inkscape](https://inkscape.org) is a powerful vector graphics editor.
## Plugins {#inkscape-plugins}
Inkscape plugins are collected in the [`inkscape-extensions`](https://search.nixos.org/packages?channel=unstable&type=packages&query=cudaPackages) package set.
To enable them, use an override on `inkscape-with-extensions`:
```nix
inkscape-with-extensions.override {
inkscapeExtensions = with inkscape-extensions; [
inkstitch
];
}
```
Similarly, this works in the shell:
```bash
$ nix-shell -p 'inkscape-with-extensions.override { inkscapeExtensions = with inkscape-extensions; [inkstitch]; }'
[nix-shell:~]$ # Ink/Stitch is now available via the extension menu
[nix-shell:~]$ inkscape
```
All available extension can be enabled by passing `inkscapeExtensions = null;`.
::: {.note}
Loading the Inkscape extensions stand-alone (without using `override`) does not affect Inkscape at all.
:::

View File

@ -17,6 +17,9 @@
"ex-testEqualArrayOrMap-test-function-add-cowbell": [
"index.html#ex-testEqualArrayOrMap-test-function-add-cowbell"
],
"inkscape-plugins": [
"index.html#inkscape-plugins"
],
"neovim": [
"index.html#neovim"
],
@ -62,6 +65,9 @@
"sec-build-helper-extendMkDerivation": [
"index.html#sec-build-helper-extendMkDerivation"
],
"sec-inkscape": [
"index.html#sec-inkscape"
],
"sec-language-cosmic": [
"index.html#sec-language-cosmic"
],