mirror of
https://github.com/zadam/trilium.git
synced 2025-11-08 23:49:00 +01:00
fix(highlighting): highlighting not working immediately after a refresh
This commit is contained in:
parent
1a4d1bc791
commit
df6797d9ea
@ -104,7 +104,7 @@ export function buildConfig() {
|
||||
},
|
||||
syntaxHighlighting: {
|
||||
loadHighlightJs: async () => {
|
||||
ensureMimeTypesForHighlighting();
|
||||
await ensureMimeTypesForHighlighting();
|
||||
return await import("@triliumnext/highlightjs");
|
||||
},
|
||||
mapLanguageName: getHighlightJsNameForMime,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user