trilium/docs/javascripts/mathjax.js

13 lines
No EOL
329 B
JavaScript
Vendored

// MathJax configuration for mathematical notation support
window.MathJax = {
tex: {
inlineMath: [['$', '$'], ['\\(', '\\)']],
displayMath: [['$$', '$$'], ['\\[', '\\]']],
processEscapes: true,
processEnvironments: true
},
options: {
ignoreHtmlClass: 'no-mathjax',
processHtmlClass: 'mathjax'
}
};