Add KaTeX support for your docsify project. Demo
KaTeX is a faster alternative to MathJax. This plugin makes it easy to support in your docsify project.
Add docsify-katex
CDN to your index.html
:
<!-- CDN files for docsify-katex -->
<script src="//cdn.jsdelivr.net/npm/docsify-katex@latest/dist/docsify-katex.js"></script>
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/katex@latest/dist/katex.min.css">
<!-- Put them above docsify.min.js -->
<script src="//cdn.jsdelivr.net/npm/docsify@latest/lib/docsify.min.js"></script>
npm run build