summaryrefslogtreecommitdiffstats
path: root/docs/content/en/getting-started/configuration-markup.md
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2023-01-17 12:51:46 +0100
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2023-01-17 12:51:46 +0100
commitb661132e0ac651fa229511f05f58554717f4d0d0 (patch)
tree7e1b3ff9ca2f2284809f840c067edc308aa35f52 /docs/content/en/getting-started/configuration-markup.md
parentd595419031b247d6f15a615f6e70b1956ff8eab1 (diff)
parentef6f101e75256c3bb88a6f1f3b5c1273bf8d7382 (diff)
downloadhugo-b661132e0ac651fa229511f05f58554717f4d0d0.tar.gz
hugo-b661132e0ac651fa229511f05f58554717f4d0d0.zip
Merge commit 'ef6f101e75256c3bb88a6f1f3b5c1273bf8d7382'
Diffstat (limited to 'docs/content/en/getting-started/configuration-markup.md')
-rw-r--r--docs/content/en/getting-started/configuration-markup.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/content/en/getting-started/configuration-markup.md b/docs/content/en/getting-started/configuration-markup.md
index 4694bd439..b55bd79c4 100644
--- a/docs/content/en/getting-started/configuration-markup.md
+++ b/docs/content/en/getting-started/configuration-markup.md
@@ -32,6 +32,9 @@ For details on the extensions, refer to [this section](https://github.com/yuin/g
Some settings explained:
+hardWrap
+: By default, Goldmark ignores newlines within a paragraph. Set to `true` to render newlines as `<br>` elements.
+
unsafe
: By default, Goldmark does not render raw HTMLs and potentially dangerous links. If you have lots of inline HTML and/or JavaScript, you may need to turn this on.