This commit is contained in:
Jake Poznanski 2024-10-16 16:45:07 +00:00
parent baa82a4a9a
commit a7cd7467c3
2 changed files with 19 additions and 1 deletions

View File

@ -90,6 +90,22 @@
}
</style>
<script type="text/javascript">
window.MathJax = {
tex: {
inlineMath: [['$', '$'], ['\\(', '\\)']],
displayMath: [['$$', '$$'], ['\\[', '\\]']]
},
options: {
skipHtmlTags: ['script', 'noscript', 'style', 'textarea', 'pre'],
processHtmlClass: 'mathjax-process' // Class name for areas where LaTeX should be processed
}
};
</script>
<script type="text/javascript" id="MathJax-script" async
src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js">
</script>
</head>
<body>
<div class="document">
@ -106,5 +122,7 @@
</div>
{% endfor %}
</div>
</body>
</html>

View File

@ -28,7 +28,7 @@ dependencies = [
"Pillow",
"ftfy",
"bleach",
"duckdb",
"markdown2",
]
license = {file = "LICENSE"}