remark-bracketed-spans
Version:
Add an id, classes, and data attributes to `<span>` tags in markdown.
4 lines (3 loc) • 367 B
HTML
<h1>example <span id="h1" class="class other-class" data-key="val" data-another="example">span text in the header</span></h1>
<p>some text <span class="class other-class" data-key="val" data-another="example">some other text</span></p>
<p>more text <span class="class other-class" data-key="val" data-another="example">some other text</span> with text at the end</p>