refactor(highlightjs): export necessary methods

This commit is contained in:
Elian Doran 2025-05-18 00:31:20 +03:00
parent 7bfe261ac6
commit e4f633d827
No known key found for this signature in database
2 changed files with 3 additions and 4 deletions

View File

@ -1 +1,3 @@
export * from './lib/highlightjs.js';
import hljs from "../node_modules/highlight.js/es/core.js";
export const { highlight, highlightAuto } = hljs;

View File

@ -1,3 +0,0 @@
export function highlightjs(): string {
return 'highlightjs';
}