aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorChris Sexton <3216719+chrissexton@users.noreply.github.com>2019-10-25 06:11:14 -0400
committerzeripath <art27@cantab.net>2019-10-25 11:11:14 +0100
commit560a511a352424ace28163c40c3278b45de2e0bc (patch)
treecd761b0ce99819ed8e9a470006893e08b3b72612 /docs
parent516fd7d3aec2385aafced3b85e34a17e6453ac37 (diff)
downloadgitea-560a511a352424ace28163c40c3278b45de2e0bc.tar.gz
gitea-560a511a352424ace28163c40c3278b45de2e0bc.zip
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
Diffstat (limited to 'docs')
-rw-r--r--docs/content/doc/advanced/external-renderers.en-us.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/content/doc/advanced/external-renderers.en-us.md b/docs/content/doc/advanced/external-renderers.en-us.md
index e3a122448d..a14f344e63 100644
--- a/docs/content/doc/advanced/external-renderers.en-us.md
+++ b/docs/content/doc/advanced/external-renderers.en-us.md
@@ -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