mirror of
https://github.com/go-gitea/gitea
synced 2024-12-26 04:04:16 +01: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:
parent
516fd7d3ae
commit
560a511a35
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ add one `[markup.XXXXX]` section per external renderer on your custom `app.ini`:
|
||||||
[markup.asciidoc]
|
[markup.asciidoc]
|
||||||
ENABLED = true
|
ENABLED = true
|
||||||
FILE_EXTENSIONS = .adoc,.asciidoc
|
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
|
; Input is not a standard input but a file
|
||||||
IS_INPUT_FILE = false
|
IS_INPUT_FILE = false
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue