Skip to content

Commit

Permalink
chore: update shiki
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed Jun 21, 2024
1 parent 7b04735 commit 5b166c6
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 14 deletions.
4 changes: 2 additions & 2 deletions app/composables/shiki.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import type { HighlighterCore } from 'shiki/core'
import { getHighlighterCore } from 'shiki/core'
import { createHighlighterCore } from 'shiki/core'

export const shiki = shallowRef<HighlighterCore>()

getHighlighterCore({
createHighlighterCore({
themes: [
import('shiki/themes/vitesse-light.mjs'),
import('shiki/themes/vitesse-dark.mjs'),
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
"lint-staged": "^15.2.7",
"nuxt": "^3.12.2",
"nuxt-eslint-auto-explicit-import": "^0.0.2",
"shiki": "^1.7.0",
"shiki": "^1.9.0",
"simple-git-hooks": "^2.11.1",
"textmate-grammar-glob": "^0.0.1",
"typescript": "^5.5.2",
Expand Down
22 changes: 11 additions & 11 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 5b166c6

Please sign in to comment.