Commit 3645edab authored by Guillaume Grossetie's avatar Guillaume Grossetie
Browse files

highlight.js script is now self-contained in the default-ui

https://gitlab.com/antora/antora-ui-default/-/commit/2991c30d4d5edcf93378a3fba7a66ada01fe29fb
parent 3ae95acd
<script type="text/javascript">
<script>
window.antora = window.antora || {}
window.antora.basePath = '{{or siteRootPath (or site.url siteRootUrl)}}'
window.antora.pagePath = '{{@root.page.url}}'
......@@ -9,5 +9,4 @@
<script src="{{uiRootPath}}/js/vendor/search.js"></script>
<script async src="{{uiRootPath}}/../search-index.js"></script>
{{/if}}
<script src="{{uiRootPath}}/js/vendor/highlight.js"></script>
<script>hljs.initHighlighting()</script>
<script async src="{{uiRootPath}}/js/vendor/highlight.js"></script>
Supports Markdown
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