-
Notifications
You must be signed in to change notification settings - Fork 40
Open
Description
According to the Markdown Guide, to introduce a linebreak, we can use a double space follow by a linebreak, using the <br>
tag (or :br
in mdc context), double new line, or a backlash \
(not recommended)
However, only the explicit <br>
or :br
works to insert a new line in parseMarkdown()
, all the other methods seems to get trimmed, especially the trailing 2 spaces and double new line, which result in "My first line.My second line" (notice the lack of space after the .
)
The official Nuxt portfolio template also suffer from this. An example from the About page:
markdown in yml:
...intuitive and engaging for users.
My path started...
get rendered as
...intuitive and engaging for users.My path started...
Metadata
Metadata
Assignees
Labels
No labels