support highlight.js
This commit is contained in:
parent
6b05e21804
commit
4744293d34
|
@ -2,3 +2,11 @@
|
|||
<script async src="//cdn.bootcss.com/mathjax/2.7.1/MathJax.js?config=TeX-MML-AM_CHTML"></script>
|
||||
|
||||
<script async src="//yihui.name/js/center-img.js"></script>
|
||||
|
||||
<script src="//cdn.bootcss.com/highlight.js/9.12.0/highlight.min.js"></script>
|
||||
<script src="//cdn.bootcss.com/highlight.js/9.12.0/languages/r.min.js"></script>
|
||||
|
||||
<script>
|
||||
hljs.configure({languages: []});
|
||||
hljs.initHighlightingOnLoad();
|
||||
</script>
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
<link href="//cdn.bootcss.com/highlight.js/9.12.0/styles/github.min.css" rel="stylesheet">
|
Loading…
Reference in New Issue