summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorguillep2k <18600385+guillep2k@users.noreply.github.com>2019-11-20 03:17:14 -0300
committertechknowlogick <techknowlogick@gitea.io>2019-11-20 01:17:14 -0500
commita85d916d3ebf5a6dcdc616f7e98926a952a7b144 (patch)
tree4048979c438c8cf86458a13ffb36e59bb307e942
parenta88a58a83e385531470149628866f557c397a2a8 (diff)
downloadgitea-a85d916d3ebf5a6dcdc616f7e98926a952a7b144.tar.gz
gitea-a85d916d3ebf5a6dcdc616f7e98926a952a7b144.zip
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 <lauris@nix.lv>
-rw-r--r--docs/content/doc/advanced/config-cheat-sheet.en-us.md4
1 files 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: **\<empty\>** 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.