Skip to content

Latest commit

 

History

History
53 lines (34 loc) · 1005 Bytes

README.zh-CN.md

File metadata and controls

53 lines (34 loc) · 1005 Bytes

docsify-footnote

GitHub Release NPM Release

English | 简体中文

docsify.js的Markdown脚注插件

Example

你只需要导入这个JS脚本:

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

然后即可生效:

tf[^1]

[^1]: Test File

or

tf^[Test File]

or

tf1[^2]

[^2]: Test File1

demo-1

配置

window.$docsify = {
  docsifyFootnote: {
    // 当设置为true时,可以隐藏子锚点编号
    // https://github.com/Robert-Du0001/docsify-footnote/pull/5
    hideSubAnchor: true,
  }
}

License

MIT License