-
-
Notifications
You must be signed in to change notification settings - Fork 170
Closed
Labels
Description
I've started doing some testing between comrak and cmark-gfm.
I've noticed that the footnote extension generates different html. In particular, data-footnote-ref, data-footnotes, data-footnote-backref, and aria-label attributes are no longer added.
input
1. one[^1]
[^1]: AbCcmark-gfm output
<ol>
<li>one<sup class="footnote-ref"><a href="#fn-1" id="fnref-1" data-footnote-ref>1</a></sup></li>
</ol>
<section class="footnotes" data-footnotes>
<ol>
<li id="fn-1">
<p>AbC <a href="#fnref-1" class="footnote-backref" data-footnote-backref aria-label="Back to content">↩</a></p>
</li>
</ol>
</section>comrak output
<ol>
<li>one<sup class="footnote-ref"><a href="#fn1" id="fnref1">1</a></sup></li>
</ol>
<section class="footnotes">
<ol>
<li id="fn1">
<p>AbC <a href="#fnref1" class="footnote-backref">↩</a></p>
</li>
</ol>
</section>I also notice the footnote ids no longer use a -, such as fn-1 vs fn1
Are these changes by design, or missing implementation?