cloudacy / vue-markdown-render

A simple markdown parser for Vue using markdown-it.
MIT License
79 stars 10 forks source link

How to add newlines? #7

Closed euberdeveloper closed 3 years ago

euberdeveloper commented 3 years ago

I was using the package vue-markdown, but was passing to vue-markdown-render because the first one is a dead project. The problem is that when I passed to vue-markdown-render, I noticed that all the <br /> I used to make additional newlines were kept as text. What should I do?

p-kuen commented 3 years ago

Hello, thanks for your comment. This is likely because html is disabled by default. You can enable it with the html option as a parameter. (See example folder).

You could also try one of those: https://gist.github.com/shaunlebron/746476e6e7a4d698b373

euberdeveloper commented 3 years ago

Ok, thank you

I did not see the configuration prop in the readme, maybe it could be added in the documentation