Unverified Commit d97522d8 authored by Sandro Jäckel's avatar Sandro Jäckel Committed by GitHub
Browse files

doc: add section on inkscape plugins (#391324)

parents 14d99bce f2e0c05a
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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
+29 −0
Original line number Diff line number Diff line
# 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.
:::
+6 −0
Original line number Diff line number Diff line
@@ -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"
  ],