mirror of
https://github.com/cfngc4594/monaco-editor-lsp-next.git
synced 2025-05-18 15:26:36 +00:00
feat(shiki): add support for markdown highlighting
This commit is contained in:
parent
a8e243204b
commit
11ecdcc535
@ -4,7 +4,7 @@ import { createHighlighter, Highlighter } from "shiki";
|
||||
|
||||
// Get all values from the ProgrammingLanguage and Theme enums
|
||||
const themes = Object.values(MonacoTheme);
|
||||
const languages = Object.values(EditorLanguage);
|
||||
const languages = [...Object.values(EditorLanguage), "markdown"];
|
||||
|
||||
// Use lazy initialization for highlighter
|
||||
let highlighter: Highlighter;
|
||||
|
Loading…
Reference in New Issue
Block a user