loading...

re: Create a blog with Markdown & Sapper VIEW POST

TOP OF THREAD FULL DISCUSSION
re: Glad it helped :) I think the p tag comes from having an empty line before defining the image. It's not the image that causes the p tag. One work...
 

Well the p tag will wrap either only the image, or the image and other inline elements.

Thanks. I was guessing I had to find another parser. markdown-it seems like the most active -- plugin wise ...

Welcome.

Try forking the markdown rollup plugin and switching showdown to markdown-it. That should do it.

code of conduct - report abuse