mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-13 22:16:02 +00:00
Document the usage of hardWrap option for markdown rendering (#1951)
This commit is contained in:
1 parent
8b5afdfb47
commit
3fa1792d24
1 file changed
+3
@@ -32,6 +32,9 @@ For details on the extensions, refer to [this section](https://github.com/yuin/g
|
|||||||
|
|
||||||
Some settings explained:
|
Some settings explained:
|
||||||
|
|
||||||
|
hardWrap
|
||||||
|
: By default, Goldmark ignores newlines within a paragraph. Set to `true` to render newlines as `<br>` elements.
|
||||||
|
|
||||||
unsafe
|
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.
|
: 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