I’ve been trying to write lately with kramdown's markdown parser and I’ve come across two problems that seem to unsolvable in the current release.
One is that there seems to be no way to stop kramdown from wrapping image links in
tags. This is often fine but when paired with something like
p + p {
text-indent: 1em;
}
the results are less than happy, images inherit unwanted text stylings and go all over the shop.
Markdown is smart enough not to add tags to existing block level elements, could the same method be used to allow specifying of stand-alone images?
If this is unfeasible or undesirable, could it be possible to allow it via an option ( say :image_block => true )
The second problem is attempting to use html5's new
and elements. According to
can I use it all major browsers now support them and they’re certainly a great help in writing articles with images that need citations or have direct references to text.
Looking through google to see if anyone has attempted it I found https://github.com/michelf/php-markdown/wiki/HTML5-update which seems to have a pretty useful starting point for working out a syntax to use them.
Would either of these problems be something we might be able to do something about?