parent
d6e1e31fa2
commit
84d7ff968e
@ -1,9 +1,7 @@ |
||||
import $ from 'jquery' |
||||
import hljs from 'highlight.js' |
||||
import hljsDefineSolidity from 'highlightjs-solidity' |
||||
|
||||
// only activate highlighting on pages with this selector
|
||||
if ($('[data-activate-highlight]').length > 0) { |
||||
hljsDefineSolidity(hljs) |
||||
hljs.initHighlightingOnLoad() |
||||
} |
||||
|
Loading…
Reference in new issue