data-scroll
kramdown の脚注に属性を追加する簡単な方法はありますか。
[Battlezone](www.github.com) [^1]
上記の私の脚注は、次のようにレンダリングされます。
<sup id="fnref:1"><a href="#fn:1" class="footnote">1</a></sup>
data-scroll
アンカータグにその属性を追加することは可能ですか?
脚注定義で個々の脚注に属性を追加できます。
This is some text with a footnote.[^note]
[^note]:{: .class #id other-attribute="attribute"}
This footnote has some attributes.
出力:
<p>This is some text with a footnote.<sup id="fnref:note"><a href="#fn:note" class="footnote">1</a></sup></p>
<div class="footnotes">
<ol>
<li id="fn:note">
<p class="class" id="id" other-attribute="attribute">This footnote has some attributes. <a href="#fnref:note" class="reversefootnote">↩</a></p>
</li>
</ol>
</div>