Gathering detailed insights and metrics for gatsby-remark-numbered-footnotes
Gathering detailed insights and metrics for gatsby-remark-numbered-footnotes
Gathering detailed insights and metrics for gatsby-remark-numbered-footnotes
Gathering detailed insights and metrics for gatsby-remark-numbered-footnotes
A small plugin to change named footnotes to numbered footnotes in your Gatsby pages using Markdown.
npm install gatsby-remark-numbered-footnotes
Typescript
Module System
Node Version
NPM Version
62.6
Supply Chain
94
Quality
74.9
Maintenance
100
Vulnerability
100
License
JavaScript (100%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
16 Stars
12 Commits
3 Forks
3 Watchers
3 Branches
3 Contributors
Updated on Jul 17, 2024
Latest Version
1.0.1
Package Id
gatsby-remark-numbered-footnotes@1.0.1
Unpacked Size
4.09 kB
Size
1.67 kB
File Count
6
NPM Version
6.9.0
Node Version
10.15.3
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
1
3
This is a plugin for gatsby-transformer-remark
that converts footnote reference links to sequential numbers.
It’s a lightweight wrapper around remark-numbered-footnotes
to make it work with Gatsby.
1yarn add gatsby-remark-numbered-footnotes
In gatsby-config.js
, add:
1 module.exports = { 2 plugins: [ 3 { 4 resolve: 'gatsby-transformer-remark', 5 options: { 6+ plugins: [ 7+ 'gatsby-remark-numbered-footnotes', 8+ ], 9 }, 10 }, 11 ], 12 };
In Remark, it’s possible to add footnotes in Markdown like this:
1This is normal body copy.[^also] It includes a couple footnotes.[^thing] 2 3[^also]: 4 This is a footnote. 5 6[^thing]: 7 This is another footnote.
By default, this will generate the following HTML:
1<p> 2 This is normal body copy. 3 <sup id="fnref-also"> 4 <a href="#fn-also" class="footnote-ref">also</a> 5 </sup> 6 It includes a couple footnotes. 7 <sup id="fnref-thing"> 8 <a href="#fn-thing" class="footnote-ref">thing</a> 9 </sup> 10</p> 11<div class="footnotes"> 12 <hr> 13 <ol> 14 <li id="fn-also"> 15 <p>This is a footnote.</p> 16 <a href="#fnref-also" class="footnote-backref">↩</a> 17 </li> 18 <li id="fn-thing"> 19 <p>This is another footnote.</p> 20 <a href="#fnref-thing" class="footnote-backref">↩</a> 21 </li> 22 </ol> 23</div>
With gatsby-remark-numbered-footnotes
, the markup will change to:
1 <p> 2 This is normal body copy. 3- <sup id="fnref-also"> 4+ <sup id="fnref-1"> 5- <a href="#fn-also" class="footnote-ref">also</a> 6+ <a href="#fn-1" class="footnote-ref">1</a> 7 </sup> 8 It includes a couple footnotes. 9- <sup id="fnref-thing"> 10+ <sup id="fnref-2"> 11- <a href="#fn-thing" class="footnote-ref">thing</a> 12+ <a href="#fn-2" class="footnote-ref">2</a> 13 </sup> 14 </p> 15 <div class="footnotes"> 16 <hr> 17 <ol> 18- <li id="fn-also"> 19+ <li id="fn-1"> 20 <p>This is a footnote.</p> 21- <a href="#fnref-also" class="footnote-backref">↩</a> 22+ <a href="#fnref-1" class="footnote-backref">↩</a> 23 </li> 24- <li id="fn-thing"> 25+ <li id="fn-2"> 26 <p>This is another footnote.</p> 27- <a href="#fnref-thing" class="footnote-backref">↩</a> 28+ <a href="#fnref-2" class="footnote-backref">↩</a> 29 </li> 30 </ol> 31 </div>
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
Found 2/7 approved changesets -- score normalized to 2
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
Reason
license file not detected
Details
Reason
security policy file not detected
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
28 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More