mirror of
https://github.com/zadam/trilium.git
synced 2025-10-26 15:56:29 +01:00
13 lines
329 B
JavaScript
13 lines
329 B
JavaScript
|
|
// MathJax configuration for mathematical notation support
|
||
|
|
window.MathJax = {
|
||
|
|
tex: {
|
||
|
|
inlineMath: [['$', '$'], ['\\(', '\\)']],
|
||
|
|
displayMath: [['$$', '$$'], ['\\[', '\\]']],
|
||
|
|
processEscapes: true,
|
||
|
|
processEnvironments: true
|
||
|
|
},
|
||
|
|
options: {
|
||
|
|
ignoreHtmlClass: 'no-mathjax',
|
||
|
|
processHtmlClass: 'mathjax'
|
||
|
|
}
|
||
|
|
};
|