Enable asciidoc rendering in forgejo

This commit is contained in:
Daniel Flanagan 2024-12-13 10:48:50 -06:00
parent 83e98441a7
commit e0c8f39121

View file

@ -864,6 +864,13 @@ sudo nix run nixpkgs#ipmitool -- raw 0x30 0x30 0x02 0xff 0x00
# REPO_INDEXER_INCLUDE = # REPO_INDEXER_INCLUDE =
REPO_INDEXER_EXCLUDE = "resources/bin/**"; REPO_INDEXER_EXCLUDE = "resources/bin/**";
}; };
"markup.asciidoc" = {
ENABLED = true;
NEED_POSTPROCESS = true;
FILE_EXTENSIONS = ".adoc,.asciidoc";
RENDER_COMMAND = "${pkgs.asciidoctor}/bin/asciidoctor --embedded --safe-mode=secure --out-file=- -";
IS_INPUT_FILE = false;
};
}; };
lfs = { lfs = {
enable = true; enable = true;