mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-27 10:02:59 +08:00
refactor(highlightjs): export necessary methods
This commit is contained in:
parent
7bfe261ac6
commit
e4f633d827
@ -1 +1,3 @@
|
||||
export * from './lib/highlightjs.js';
|
||||
import hljs from "../node_modules/highlight.js/es/core.js";
|
||||
|
||||
export const { highlight, highlightAuto } = hljs;
|
||||
|
@ -1,3 +0,0 @@
|
||||
export function highlightjs(): string {
|
||||
return 'highlightjs';
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user