markdown
markdown copied to clipboard
Implement `{: data-line="1"}` for setting block-level attributes
## foo
{: data-line="1"}
should generate:
<h2 data-line="1" id="foo">
foo
</h2>
This is a kramdown extension. Probably should be an extension.
[ Quoting @.***> in "[gomarkdown/markdown] Implement `{:..." ]
foo
{: data-line="1"}
babelmark results
This is a kramdown extension. Probably should be an extension.
likely. Note that for mmark we already support such things (diff. syntax though, yeah! markdown)
This would be hacking on the Attributes I've added a while back, but now they are detected by { data-line="1"}
also kramdown allows these after block level elements, haven't been able to do that here...