Skip to content

Commit 84dc9ea

Browse files
committed
separate higlighting
1 parent 03c62c9 commit 84dc9ea

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

packages/site-kit/src/lib/markdown/renderer.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ const highlighter = await createHighlighterCore({
5454
import('@shikijs/langs/css'),
5555
import('@shikijs/langs/bash'),
5656
import('@shikijs/langs/yaml'),
57-
import('@shikijs/langs/toml'),
5857
import('@shikijs/langs/svelte')
5958
],
6059
engine: createOnigurumaEngine(import('shiki/wasm'))
@@ -894,7 +893,6 @@ async function syntax_highlight({
894893
.replace(/ {11}([^ ][^]+?) {11}/g, (_, content) => {
895894
return highlight_spans(content, 'highlight add');
896895
})
897-
// TODO: make this not highlight the static adapter's github yaml deploy file
898896
.replace(/ {9}([^ ][^]+?) {9}/g, (_, content) => {
899897
return highlight_spans(content, 'highlight');
900898
});

0 commit comments

Comments
 (0)