This commit is contained in:
parent
b0112c06d6
commit
468b5ecc70
2 changed files with 6 additions and 0 deletions
|
@ -1,4 +1,6 @@
|
|||
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/11.7.0/highlight.min.js"></script>
|
||||
<script src="//unpkg.com/highlightjs-copy/dist/highlightjs-copy.min.js"></script>
|
||||
<script>
|
||||
hljs.addPlugin(new CopyButtonPlugin());
|
||||
hljs.highlightAll();
|
||||
</script>
|
||||
|
|
|
@ -2,3 +2,7 @@
|
|||
rel="stylesheet"
|
||||
href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/11.7.0/styles/default.min.css"
|
||||
/>
|
||||
<link
|
||||
rel="stylesheet"
|
||||
href="//unpkg.com/highlightjs-copy/dist/highlightjs-copy.min.css"
|
||||
/>
|
||||
|
|
Loading…
Reference in a new issue