Closed Crystal-Spider closed 4 months ago
Hi @Crystal-Spider,
This is intended according to the CommonMark blank lines specification, so it works as expected, as demonstrated on the marked demo.
Hi! Thank you for the explanation!
You're right, I forgot I had removed margins from all elements, and thus p
s too, that's why different paragraphs didn't have any space in between.
My markdown is as follows:
However it becomes:
And thus it renders as: Line 1 Line 2 Line 3
Rather than: Line 1
Line 2
Line 3
I have this configuration in my appConfig (I'm using standalone components):
And I added both the
ngPreserveWhitespaces
directive to the markdown component, and I set thepreserveWhitespaces
option in my component totrue
.