We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c57218 commit 9838db6Copy full SHA for 9838db6
src/main/js/site/highlight.js
@@ -16,7 +16,7 @@
16
17
(function () {
18
'use strict';
19
-
+
20
const highlightJs = require('highlight.js/lib/core');
21
22
highlightJs.registerLanguage('asciidoc', require('highlight.js/lib/languages/asciidoc'));
@@ -42,8 +42,10 @@
42
highlightJs.registerLanguage('xml', require('highlight.js/lib/languages/xml'));
43
highlightJs.registerLanguage('yaml', require('highlight.js/lib/languages/yaml'));
44
45
+ highlightJs.configure({ignoreUnescapedHTML: true});
46
47
for(const codeElement of document.querySelectorAll('pre.highlight > code')) {
48
highlightJs.highlightBlock(codeElement);
49
}
50
51
})();
0 commit comments