Yes, definitely we could, although that will mean that the markup we have isn't a straight transform of markdown => markup, so it'll be a little more complex to rerender if we ever do that.

The general approach still applies though that we could have this be part of the supplied markup. It could even be a collection of data attributes on the parent element so we're not affecting the markdown HTML. I'll try that, thanks.