aboutsummaryrefslogtreecommitdiffstats
path: root/docs/content/doc
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2020-04-22 00:13:56 +0200
committerGitHub <noreply@github.com>2020-04-21 23:13:56 +0100
commit7e20f1cb5b3ef494676f3629e4980c8cdd64525b (patch)
tree7dc0f5b4975ff135ce074ddca9e959e13266df33 /docs/content/doc
parent49f8b20570a4a6e7d49f00ee91453dc8ef84f4b1 (diff)
downloadgitea-7e20f1cb5b3ef494676f3629e4980c8cdd64525b.tar.gz
gitea-7e20f1cb5b3ef494676f3629e4980c8cdd64525b.zip
enable ENABLE_HARD_LINE_BREAK by default (#11162)
enable ENABLE_HARD_LINE_BREAK by default This matches GitHub's rendering. Fix #11155
Diffstat (limited to 'docs/content/doc')
-rw-r--r--docs/content/doc/advanced/config-cheat-sheet.en-us.md4
1 files changed, 3 insertions, 1 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 00f086e546..7d59041ec4 100644
--- a/docs/content/doc/advanced/config-cheat-sheet.en-us.md
+++ b/docs/content/doc/advanced/config-cheat-sheet.en-us.md
@@ -142,7 +142,9 @@ Values containing `#` or `;` must be quoted using `` ` `` or `"""`.
## Markdown (`markdown`)
-- `ENABLE_HARD_LINE_BREAK`: **false**: Enable Markdown's hard line break extension.
+- `ENABLE_HARD_LINE_BREAK`: **true**: Render soft line breaks as hard line breaks, which
+ means a single newline character between paragraphs will cause a line break and adding
+ trailing whitespace to paragraphs is not necessary to force a line break.
- `CUSTOM_URL_SCHEMES`: Use a comma separated list (ftp,git,svn) to indicate additional
URL hyperlinks to be rendered in Markdown. URLs beginning in http and https are
always displayed