mirror of
https://github.com/zadam/trilium.git
synced 2025-11-07 05:46:10 +01:00
client: Apply syntax highlight to included notes
This commit is contained in:
@@ -5,7 +5,6 @@ import attributeRenderer from "./attribute_renderer.js";
|
||||
import libraryLoader from "./library_loader.js";
|
||||
import treeService from "./tree.js";
|
||||
import utils from "./utils.js";
|
||||
import { applySyntaxHighlight } from "./syntax_highlight.js";
|
||||
|
||||
const TPL = `
|
||||
<div class="note-list">
|
||||
@@ -367,9 +366,7 @@ class NoteListRenderer {
|
||||
separateWordSearch: false,
|
||||
caseSensitive: false
|
||||
});
|
||||
}
|
||||
|
||||
applySyntaxHighlight($renderedContent);
|
||||
}
|
||||
|
||||
$content.append($renderedContent);
|
||||
$content.addClass(`type-${type}`);
|
||||
|
||||
Reference in New Issue
Block a user