mirror of
https://github.com/zadam/trilium.git
synced 2025-11-07 22:05:44 +01:00
Implement mermaid diagrams (#2187)
* Start implementing mermaid diagrams * Implement theming for mermaid diagrams * Add edit tab to mermaid diagrams * Remove comment * Render mermaid diagrams in included notes * Prevent mermaid notes from being removed to consistency checks
This commit is contained in:
@@ -267,7 +267,7 @@ class ConsistencyChecks {
|
||||
SELECT noteId, type
|
||||
FROM notes
|
||||
WHERE isDeleted = 0
|
||||
AND type NOT IN ('text', 'code', 'render', 'file', 'image', 'search', 'relation-map', 'book', 'note-map')`,
|
||||
AND type NOT IN ('text', 'code', 'render', 'file', 'image', 'search', 'relation-map', 'book', 'note-map', 'mermaid')`,
|
||||
({noteId, type}) => {
|
||||
if (this.autoFix) {
|
||||
const note = becca.getNote(noteId);
|
||||
|
||||
Reference in New Issue
Block a user