mirror of
https://github.com/massbug/judge4c.git
synced 2025-05-18 07:16:34 +00:00
chore(shiki): convert function to arrow function
This commit is contained in:
parent
baf377b722
commit
9ec8768393
@ -9,7 +9,7 @@ const languages = [...Object.values(EditorLanguage), "markdown"];
|
|||||||
// Use lazy initialization for highlighter
|
// Use lazy initialization for highlighter
|
||||||
let highlighter: Highlighter;
|
let highlighter: Highlighter;
|
||||||
|
|
||||||
async function initializeHighlighter() {
|
const initializeHighlighter = async () => {
|
||||||
try {
|
try {
|
||||||
highlighter = await createHighlighter({
|
highlighter = await createHighlighter({
|
||||||
themes: themes, // Use all values from the Theme enum
|
themes: themes, // Use all values from the Theme enum
|
||||||
|
Loading…
Reference in New Issue
Block a user