mirror of
https://github.com/zadam/trilium.git
synced 2025-11-16 02:05:53 +01:00
math support WIP
This commit is contained in:
@@ -108,6 +108,7 @@ export default class EditableTextTypeWidget extends AbstractTextTypeWidget {
|
||||
math: {
|
||||
engine: 'katex',
|
||||
outputType: 'span', // or script
|
||||
lazyLoad: async () => await libraryLoader.requireLibrary(libraryLoader.KATEX),
|
||||
forceOutputType: false, // forces output to use outputType
|
||||
enablePreview: true // Enable preview view
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user