Markwon
Markwon copied to clipboard
How to keep multiple blank lines / paragraphs?
- Markwon version:
4.6.2
Given the input contains multiple blank lines, the rendered output will truncate them to one blank line (see screenshots below). I haven't found a configuration option in the documentation to keep those blank space so far, therefore I am curious whether there is an option (or plugin) that I just missed or whether this hasn't been a topic at all yet?
| input | output |
|---|---|
![]() |
![]() |
Hello @stefan-niedermann ,
this behavior comes directly from the commonmark spec (via commonmark-java here). There is no option or a configuration step to control it right now. But you can take a look at the NewLineInlineProcessor from the inline-parser if you wish to have more control of the parser

