mirror of
https://github.com/zadam/trilium.git
synced 2026-05-07 06:16:58 +02:00
Add MathJax 3 support
This commit is contained in:
@@ -39,7 +39,7 @@ export function renderEquation( equation, element, engine = 'katex', display = f
|
||||
}
|
||||
|
||||
export function isMathJaxVersion3( version ) {
|
||||
return version && typeof version === 'string' && version.split( '.' ).length === 3 && version.split( '.' )[0] === '3';
|
||||
return version && typeof version === 'string' && version.split( '.' ).length === 3 && version.split( '.' )[ 0 ] === '3';
|
||||
}
|
||||
|
||||
export function getSelectedMathModelWidget( selection ) {
|
||||
|
||||
Reference in New Issue
Block a user