diff options
author | Minijackson <minijackson@riseup.net> | 2022-02-10 15:36:11 +0100 |
---|---|---|
committer | Minijackson <minijackson@riseup.net> | 2022-02-10 15:36:11 +0100 |
commit | 27e0a89d85a647a706fc70986e3ece91e33a7cbb (patch) | |
tree | 8b3a80ca1ecaa4d1336ced63963ab72bd6729f61 /documentation-highlighter/default.nix | |
parent | e7a9dd23668d99da97b2ca7a1145df8990482df3 (diff) | |
download | nix-module-doc-27e0a89d85a647a706fc70986e3ece91e33a7cbb.tar.gz nix-module-doc-27e0a89d85a647a706fc70986e3ece91e33a7cbb.zip |
mdbook: use own highlighter.js to support other languages
Diffstat (limited to 'documentation-highlighter/default.nix')
-rw-r--r-- | documentation-highlighter/default.nix | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/documentation-highlighter/default.nix b/documentation-highlighter/default.nix new file mode 100644 index 0000000..2a34e36 --- /dev/null +++ b/documentation-highlighter/default.nix | |||
@@ -0,0 +1,12 @@ | |||
1 | { lib, runCommand }: | ||
2 | runCommand "documentation-highlighter" { | ||
3 | meta = { | ||
4 | description = "Highlight.js sources for the Nix Ecosystem's documentation"; | ||
5 | homepage = "https://highlightjs.org"; | ||
6 | license = lib.licenses.bsd3; | ||
7 | platforms = lib.platforms.all; | ||
8 | maintainers = [ lib.maintainers.grahamc ]; | ||
9 | }; | ||
10 | } '' | ||
11 | cp -r ${./.} $out | ||
12 | '' | ||