mirror of
https://github.com/gohugoio/hugo.git
synced 2026-08-25 07:48:52 +00:00
Document the usage of hardWrap option for markdown rendering (#1951)
This commit is contained in:
@@ -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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user