fix: cjk support + demo page

This commit is contained in:
Jacky Zhao
2022-04-02 17:38:39 -07:00
parent 2d48e11a78
commit 0f98d65f4c
7 changed files with 12 additions and 9 deletions

View File

@ -5,15 +5,12 @@
<script>
document.addEventListener("DOMContentLoaded", function() {
renderMathInElement(document.body, {
// customised options
// • auto-render specific keys, e.g.:
delimiters: [
{left: '$$', right: '$$', display: true},
{left: '$', right: '$', display: false},
{left: '\\(', right: '\\)', display: false},
{left: '\\[', right: '\\]', display: true}
],
// • rendering keys, e.g.:
throwOnError : false
});
});