Skip to content

Commit

Permalink
perf(config/markdown): only load used languages for shiki
Browse files Browse the repository at this point in the history
  • Loading branch information
uncenter committed Jan 17, 2025
1 parent 1134a3c commit 3a65904
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions config/markdown/core.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ const markdownLibrary = markdownIt({
})
.use(
await markdownItShiki({
langs: ['md', 'js', 'json', 'toml', 'sh', 'f90'],
themes: {
latte: 'catppuccin-latte',
frappe: 'catppuccin-frappe',
Expand Down

0 comments on commit 3a65904

Please sign in to comment.