11 lines
365 B
HTML
11 lines
365 B
HTML
<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.configure({
|
|
noHighlightRe: /^$/i,
|
|
languageDetectRe: /\blanguage-hljs-([\w-]+)\b/i,
|
|
});
|
|
|
|
hljs.addPlugin(new CopyButtonPlugin());
|
|
hljs.highlightAll();
|
|
</script>
|