Markdown formatting in block elements in WordPress

Markdown formatter in WordPress (Jetpack’s one) by default does not format parts inside block elements:

<div style="margin-left: 50px">
Thus, _this_ will **not** work!
</div>

But, with addition of markdown="1" you can enable the magic:

<div style="margin-left: 50px" markdown="1">
And _this_ **will** work!
</div>

I love simple solutions!

Leave a Reply