From a85d916d3ebf5a6dcdc616f7e98926a952a7b144 Mon Sep 17 00:00:00 2001 From: guillep2k <18600385+guillep2k@users.noreply.github.com> Date: Wed, 20 Nov 2019 03:17:14 -0300 Subject: [PATCH] Fix doc example for asciidoc (#9072) * Fix doc example for asciidoc * Update config-cheat-sheet.en-us.md * Update docs/content/doc/advanced/config-cheat-sheet.en-us.md Co-Authored-By: Lauris BH --- docs/content/doc/advanced/config-cheat-sheet.en-us.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/content/doc/advanced/config-cheat-sheet.en-us.md b/docs/content/doc/advanced/config-cheat-sheet.en-us.md index f56ed34e43..327efb34bd 100644 --- a/docs/content/doc/advanced/config-cheat-sheet.en-us.md +++ b/docs/content/doc/advanced/config-cheat-sheet.en-us.md @@ -558,13 +558,13 @@ Gitea can support Markup using external tools. The example below will add a mark ```ini [markup.asciidoc] -ENABLED = false +ENABLED = true FILE_EXTENSIONS = .adoc,.asciidoc RENDER_COMMAND = "asciidoc --out-file=- -" IS_INPUT_FILE = false ``` -- ENABLED: **false** Enable markup support. +- ENABLED: **false** Enable markup support; set to **true** to enable this renderer. - FILE\_EXTENSIONS: **\** List of file extensions that should be rendered by an external command. Multiple extentions needs a comma as splitter. - RENDER\_COMMAND: External command to render all matching extensions.