File size: 682 Bytes
8a290fb
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
document.addEventListener("DOMContentLoaded", function() {
    renderMathInElement(document.getElementById('main-article'), {
        delimiters: [
            {left: '$', right: '$', display: false},
            {left: '$$', right: '$$', display: true},
            {left: '\(', right: '\)', display: false},
            {left: '\[', right: '\]', display: true},
            {left: '\\(', right: '\\)', display: false},
            {left: '\\[', right: '\\]', display: true},
            {left: "\begin{equation}", right: "\end{equation}", display: true},
            {left: "\begin{align}", right: "\end{align}", display: true},
        ],
        throwOnError : false
    });
});