2.0.1 • Published 1 year ago

rehype-footnotes-title v2.0.1

Weekly downloads
34
License
MIT
Repository
github
Last release
1 year ago

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 identifier.
2.0.1

1 year ago

2.0.0

4 years ago

1.0.0

5 years ago

0.0.32

6 years ago

0.0.31

6 years ago

0.0.30

6 years ago

0.0.29

6 years ago

0.0.28

7 years ago

0.0.27

7 years ago

0.0.26

7 years ago

0.0.25

7 years ago

0.0.24

7 years ago

0.0.23

7 years ago

0.0.22

7 years ago

0.0.21

7 years ago

0.0.20

8 years ago

0.0.19

8 years ago

0.0.18

8 years ago

0.0.17

8 years ago

0.0.16

8 years ago

0.0.15

8 years ago

0.0.14

8 years ago

0.0.13

8 years ago

0.0.12

8 years ago

0.0.11

8 years ago

0.0.10

8 years ago

0.0.9

8 years ago

0.0.8

8 years ago

0.0.7

8 years ago

0.0.6

8 years ago