Skip to content

Commit e73440c

Browse files
committed
highlight after mermaid
1 parent fc4ef0a commit e73440c

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

content/theme/templates/page.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
{% include "footer.html" %}
1717
</div>
1818
</main>
19-
<script>hljs.highlightAll();</script>
2019
<script>
2120
function decodeHtmlEntities(str) {
2221
const txt = document.createElement("textarea");
@@ -38,8 +37,9 @@
3837
});
3938
// Now render them
4039
mermaid.init();
41-
});
42-
</script>
40+
});
41+
</script>
42+
<script>hljs.highlightAll();</script>
4343
</body>
4444
</html>
4545
{% endblock %}

0 commit comments

Comments
 (0)