prism -> pandoc highlighting
This commit is contained in:
@@ -2,7 +2,6 @@
|
||||
<html lang="ru">
|
||||
<head>
|
||||
<link rel="stylesheet" href="{{ url_for('static', filename='css/pandoc.css') }}">
|
||||
<link rel="stylesheet" href="{{ url_for('static', filename='css/prism.css') }}">
|
||||
|
||||
<script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script>
|
||||
<script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script>
|
||||
@@ -11,12 +10,5 @@
|
||||
|
||||
<body>
|
||||
{{markdown|safe}}
|
||||
<script>
|
||||
var divs = document.getElementsByTagName("code");
|
||||
for (var i = 0; i < divs.length; i++) {
|
||||
divs[i].classList.add("language-cpp");
|
||||
}
|
||||
</script>
|
||||
<script src="{{ url_for('static', filename='js/prism.js') }}"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
Reference in New Issue
Block a user