docsify-footnote
Version:
<div align="center">
54 lines (34 loc) • 1.07 kB
Markdown
<div align="center">
# docsify-footnote
[](https://github.com/Robert-Du0001/docsify-footnote/releases) [](https://www.npmjs.com/package/docsify-footnote)
[English](/README.md) | [简体中文](/README.zh-CN.md)
A [docsify.js](https://docsify.js.org) plugin for footnote in markdown.
</div>
## Example
You just need to import this JS script:
```js
<script src="//cdn.jsdelivr.net/npm/docsify-footnote/dist/docsify-footnote.min.js"></script>
```
Then, enjoy it:
```markdown
tf[^1]
[^1]: Test File
or
tf^[Test File]
or
tf1[^2]
[^2]: Test File1
```

## Configuration
```javascript
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](LICENSE)