From 41a8dff5192d905095a0f003d9663861a669daa8 Mon Sep 17 00:00:00 2001 From: Pablo Hdez <62877300+pheralb@users.noreply.github.com> Date: Wed, 6 Aug 2025 07:44:18 +0000 Subject: [PATCH] =?UTF-8?q?=E2=9A=99=EF=B8=8F=20Add=20``html``=20lang=20to?= =?UTF-8?q?=20shiki=20config?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- markdown.config.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/markdown.config.js b/markdown.config.js index 00054a0..36c5b62 100644 --- a/markdown.config.js +++ b/markdown.config.js @@ -31,9 +31,9 @@ const mdsvexOptions = { highlighter: async (code, lang = 'text') => { const highlighter = await getHighlighter({ themes: ['github-light', 'github-dark'], - langs: ['javascript', 'typescript', 'bash', 'json'] + langs: ['javascript', 'typescript', 'bash', 'json', 'html'] }); - await highlighter.loadLanguage('javascript', 'typescript', 'bash'); + await highlighter.loadLanguage('javascript', 'typescript', 'bash', 'html'); const html = escapeSvelte( highlighter.codeToHtml(code, { lang,