插件
- 为代码添加拷贝按钮: jperasmus/docsify-copy-code
- 文档变更日志: docsify-plugin/packages/docsify-changelog-plugin
- 横幅: docsify-plugin/packages/docsify-top-banner-plugin at master · Plugin-contrib/docsify-plugin
- 深色模式: docsify-plugin/packages/docsify-dark-mode at master · Plugin-contrib/docsify-plugin
- 多版本: UliGall/docsify-versioned-plugin
- 最后更新时间: pfeak/docsify-updated: Add update time for each of your docsify markdown
- 支持 obsidian zpengg/docsify-wikilink: https://zpengg.github.io/docsify-wikilink/#/
脚注支持
保存为 docsify-footer.mini.js,然后加载倒 index.html 中
($docsify=$docsify||{}).plugins=[].concat(function(o){o.beforeEach(function(o){return o=/\[\^([A-Za-z0-9\-]+)\][^:]/.test(o)?o.replace(/\[\^([A-Za-z0-9\-]+)\][^:]/gm,'<sup class="footnote-symbol" id="fn-$1">[[$1]](#fnref-$1)</sup>').replace(/\[\^([A-Za-z0-9\-]+)\]\: /gm,'<strong class="footnote-reference-symbol" id="fnref-$1">[[$1]](#fn-$1)</strong>: '):o})},$docsify.plugins||[]);