Commit f998f2aa authored by Laurent Sittler's avatar Laurent Sittler ©
Browse files

fix(ui): highlight js

parents 66fe4048 ecadeaf9
Pipeline #986 passed with stages
in 3 minutes and 52 seconds
<!DOCTYPE html>
<html lang="{{@site.lang}}" dir="ltr">
<head>
{{!-- Document Settings --}}
<meta charset="utf-8" />
......@@ -41,7 +42,13 @@
<script src="{{asset "dist/jquery-3.5.1.min.js"}}" type="text/javascript"></script>
{{!-- https://highlightjs.org/download/ --}}
<script src="{{asset "dist/highlightjs/highlight.pack.js"}}" type="text/javascript"></script>
<script type="text/javascript">hljs.initHighlightingOnLoad();</script>
<script type="text/javascript">
document.addEventListener('DOMContentLoaded', (event) => {
document.querySelectorAll('pre code').forEach((block) => {
hljs.highlightBlock(block);
});
});
</script>
<script src="{{asset "dist/cookieconsent.min.js"}}" type="text/javascript"></script>
<script src="{{asset "built/ghost-fluentui.js"}}" type="text/javascript"></script>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment