mirror of
https://gitee.com/docsifyjs/docsify.git
synced 2024-12-01 03:30:00 +08:00
559 B
559 B
language highlight
docsify uses Prism to highlight code blocks in your pages. By default it only supports CSS, JavaScipt and HTML. You can make Prism load additional languages:
<script src="//unpkg.com/docsify/lib/docsify.min.js"></script>
<script src="//unpkg.com/prismjs/components/prism-bash.min.js"></script>
<script src="//unpkg.com/prismjs/components/prism-php.min.js"></script>
?> Check the component files list for more options.