1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-11-22 08:42:32 -05:00

Change external asciidoctor tool to embeded mode (#8677)

Ref #8676

* add the `-e` flag for embedded mode
* add a level offset to include the title of the document
This commit is contained in:
Chris Sexton 2019-10-25 06:11:14 -04:00 committed by zeripath
parent 516fd7d3ae
commit 560a511a35

View file

@ -51,7 +51,7 @@ add one `[markup.XXXXX]` section per external renderer on your custom `app.ini`:
[markup.asciidoc]
ENABLED = true
FILE_EXTENSIONS = .adoc,.asciidoc
RENDER_COMMAND = "asciidoctor --out-file=- -"
RENDER_COMMAND = "asciidoctor -e -a leveloffset=-1 --out-file=- -"
; Input is not a standard input but a file
IS_INPUT_FILE = false