[kramdown-users] block parsing not recursive?

Thomas Leitner t_leitner at gmx.at
Tue Aug 28 07:37:45 UTC 2012

On 2012-08-27 13:30 -0700 Matt Neuburg wrote:
> Okay, but given that I've got the HTML that I've got, is there any
> way to have kramdown come sweeping down through it and apply
> span-level and character-level transformations, like turning _great_
> into <em>great</em> and making "stupid" quotes smart? m.

No, I don't think so because you want kramdown to have HTML as input
and selectively parse HTML tags with the kramdown span parser which is
not implemented.

However, it could surely be done by creating a custom HTML parser that
parses all HTML tags with the kramdown span parser.

Best regards,

More information about the kramdown-users mailing list