docsify/docs/language-highlight.md
2017-02-13 22:43:58 +08:00

527 B

language highlight

The code language highlight tool is Prism. Only supports CSS, JavaScipt and HTML by default. You can load its component to highlight the language you need.

<script src="//unpkg.com/docsify"></script>
<script src="//unpkg.com/prismjs/components/prism-bash.js"></script>
<script src="//unpkg.com/prismjs/components/prism-php.js"></script>

?> See fully supported highlight component files list.