Skip to content

Commit

Permalink
⬆️ chore: upgrade shikiji to shiki
Browse files Browse the repository at this point in the history
  • Loading branch information
rdmclin2 committed Mar 21, 2024
1 parent faa9a74 commit d3bf590
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@
"remark-gfm": "^3.0.1",
"remark-math": "^5.1.1",
"rxjs": "^7.8.1",
"shikiji": "^0.6.13",
"shiki": "^1.2.0",
"type-fest": "^3.13.1",
"use-merge-value": "^1.2.0",
"yjs": "^13.6.11",
Expand Down
2 changes: 1 addition & 1 deletion src/Highlight/hooks/useShiki.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { useEffect, useState } from 'react';
import { getHighlighter, type Highlighter } from 'shikiji';
import { getHighlighter, type Highlighter } from 'shiki/bundle/web';
import { themeConfig } from '../theme';
import { languageMap } from './useHighlight';

Expand Down

0 comments on commit d3bf590

Please sign in to comment.