From 3fa1792d24020a7c8a84f7b8043932258101f14b Mon Sep 17 00:00:00 2001 From: Jacob Zhong Date: Tue, 10 Jan 2023 20:29:39 -0500 Subject: [PATCH] Document the usage of `hardWrap` option for markdown rendering (#1951) --- content/en/getting-started/configuration-markup.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/content/en/getting-started/configuration-markup.md b/content/en/getting-started/configuration-markup.md index 4694bd439..b55bd79c4 100644 --- a/content/en/getting-started/configuration-markup.md +++ b/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 `
` 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.