blackfriday
blackfriday copied to clipboard
Markdown within html block should be parsed after blank lines
This:
<div class="myclass">
This is **bold** text
</div>
... should render as this:
<div class="myclass">
This is **bold** text
</div>
That works.
But this:
<div class="myclass">
This is **bold** text
</div>
... should render as this:
<div class="myclass">
This is <b>bold</b> text
</div>
That doesn't work.
Any updates?
This project seems to be abandoned... anyone has come across another Go package that handles HTML better (like doing the right thing for the example in this issue)?
This project seems to be abandoned... anyone has come across another Go package that handles HTML better (like doing the right thing for the example in this issue)?
https://github.com/yuin/goldmark
You need to use the render option html.WithUnsafe