Skip to content

Commit d8412e0

Browse files
authored
Merge pull request #28 from michalsn/docs-hljs
docs: better `hljs` support when `navigation.instant` is enabled
2 parents b289d14 + b67f650 commit d8412e0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/assets/js/hljs.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
document.addEventListener('DOMContentLoaded', (event) => {
1+
window.document$.subscribe(() => {
22
hljs.highlightAll();
33
});

0 commit comments

Comments
 (0)