Markdown is inserting <br> for newlines #4070
-
|
I cut and pasted some existing markdown into my new Wiki.js site and the rendered HTML contains |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
|
I have exactly the same issue. Markdown written in external editors often is written with intentional line breaks in the source, expecting the markdown renderer to put these lines into one. Example: --> This should be rendered like this: But the wiki.js markdown renderer returns this: |
Beta Was this translation helpful? Give feedback.
-
|
You can disable newlines in the Admin > Rendering > Markdown Core section |
Beta Was this translation helpful? Give feedback.
-
|
I went into the markdown core section and disabled this, but my pages are still getting breaks for newlines that in the original files. If it matters, my pages were all imported via the Git connector from a previous foliant/mkdocs site managed with Are there any extra steps here I'm missing to disable this? I tried restarting the wiki.js server but that hasn't helped. |
Beta Was this translation helpful? Give feedback.
You can disable newlines in the Admin > Rendering > Markdown Core section