Skip to content

Robert-Du0001/docsify-footnote

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docsify-footnote

GitHub Release NPM Release

English | 简体中文

A docsify.js plugin for footnote in markdown.

Example

You just need to import this JS script:

<script src="//cdn.jsdelivr.net/npm/docsify-footnote/dist/docsify-footnote.min.js"></script>

Then, enjoy it:

tf[^1]

[^1]: Test File

or

tf^[Test File]

or

tf1[^2]

[^2]: Test File1

demo-1

Configuration

window.$docsify = {
  docsifyFootnote: {
    // Set to true to hide the sub-anchor numbering.
    // https://github.com/Robert-Du0001/docsify-footnote/pull/5
    hideSubAnchor: true,
  }
}

License

MIT License