Markdown line breaks are rendered in Marked 2

Joshua Wright's Avatar

Joshua Wright

21 Apr, 2018 03:39 PM

I'm trying Marked 2 out, and one of the things I find odd about the rendered view is that a single line break is
treated as a new paragraph in the output. I typically write in ~80 character lines, using newlines in the middle
of a paragraph to break up long text. I believe Markdown should render two newlines as a new paragraph,
but Marked treats a single newline as the start of a new paragraph.

Is this intended functionality in Marked 2? My expected outcome is that two newlines starts a new paragraph,
but a single line break is ignored by the rendering engine.

Thanks.

  1. Support Staff 1 Posted by Brett on 21 Apr, 2018 04:15 PM

    Brett's Avatar

    Hi Joshua,

    Is it possible that under Preferences->Processor you have "Retain line
    breaks in paragraphs" enabled?

    -Brett

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Already uploaded files

  • foo.md 137 Bytes

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac