Skip to content

Automatically add rel="footnote" to footnote links #706

@xplosionmind

Description

@xplosionmind

Hello, I have a Jekyll website which uses kramdown as the default Markdown parser. I noticed that a footnote link contains code like the following:

<sup id="fnref:1" role="doc-noteref">
    <a href="#fn:1" class="footnote">1</a>
</sup>

I believe that, in order to comply with the semantic HTML philosophy, it would be really important to ad to the generated a tag the rel="footnote" attribute:

<sup id="fnref:1" role="doc-noteref">
    <a href="#fn:1" class="footnote" rel="footnote">1</a>
</sup>

Furthermore, in modern and developed RSS readers, if the rel=footnote attribute is present, the footnote is clickable and displayed as a pop-up window; in other words, it is better recognized and implemented.

Would it be possible to add this feature?


Thank you very much!
Best,
T

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions