This package has been deprecated

Author message:

Deprecated in favour rehype-footnotes-title

remark-footnotes-title

0.0.5 • Public • Published

This plugin adds a title attribute to the footnote links, mainly for accessibility purpose.

 <div class="footnotes">
   <hr>
   <ol>
     <li id="fn-1">
       <p>Some clever joke</p>
-       <a href="#fnref-1" class="footnote-backref">↩</a>
+       <a href="#fnref-1" class="footnote-backref" title="Jump to reference">↩</a>
     </li>
   </ol>
 </div>

Usage:

  • .use(footnotesTitles, 'Jump to reference')
  • .use(footnotesTitles, 'Going back to footnote with id $id')
  • If $id is found in the string, it gets replaced with the footnote id.

Readme

Keywords

Package Sidebar

Install

npm i remark-footnotes-title

Weekly Downloads

0

Version

0.0.5

License

MIT

Last publish

Collaborators

  • vhf