Skip to content

V4: Render new lines in Markdown #2893

Description

@tordans

For some reason most default Markdown renderer don't render new lines as
.
That is confusing IMO because the editing UI does render them as such: Press enter and you get a new line…
And then in rendering, that disappears.

IMO it would be best to add a setting to the Markdown rendering that renders new lines as line breaks in HTML.
This will "fix" the rendering for users that use an input box to provide the input. And it is easy to work around when not wanted by removing the line break in the input. There is however now way to add <br>s to Standard Markdown when those settings are off because a full linebreak <p> is usually displayed with larger paddings/margins.

Image

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status
Inbox

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions