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