Document the usage of hardWrap option for markdown rendering (#1951)

This commit is contained in:
Jacob Zhong authored and GitHub committed 2023-01-10 17:29:39 -08:00
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.