From 27e0a89d85a647a706fc70986e3ece91e33a7cbb Mon Sep 17 00:00:00 2001 From: Minijackson Date: Thu, 10 Feb 2022 15:36:11 +0100 Subject: mdbook: use own highlighter.js to support other languages --- documentation-highlighter/default.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 documentation-highlighter/default.nix (limited to 'documentation-highlighter/default.nix') 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 @@ +{ lib, runCommand }: +runCommand "documentation-highlighter" { + meta = { + description = "Highlight.js sources for the Nix Ecosystem's documentation"; + homepage = "https://highlightjs.org"; + license = lib.licenses.bsd3; + platforms = lib.platforms.all; + maintainers = [ lib.maintainers.grahamc ]; + }; +} '' + cp -r ${./.} $out +'' -- cgit v1.2.3