mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-10-02 02:41:34 +08:00
fix(highlightjs): integration with editable text
This commit is contained in:
parent
e4f633d827
commit
5205320d44
@ -104,10 +104,7 @@ export function buildConfig() {
|
||||
definitionsUrl: emojiDefinitionsUrl
|
||||
},
|
||||
syntaxHighlighting: {
|
||||
async loadHighlightJs() {
|
||||
await library_loader.requireLibrary(library_loader.HIGHLIGHT_JS);
|
||||
return hljs;
|
||||
},
|
||||
loadHighlightJs: async () => await import("@triliumnext/highlightjs"),
|
||||
mapLanguageName: getHighlightJsNameForMime,
|
||||
defaultMimeType: MIME_TYPE_AUTO,
|
||||
enabled: isSyntaxHighlightEnabled
|
||||
|
Loading…
x
Reference in New Issue
Block a user