Skip to content

Commit

Permalink
Bump the shiki group with 2 updates (#59)
Browse files Browse the repository at this point in the history
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Timo Mämecke <[email protected]>
  • Loading branch information
dependabot[bot] and timomeh authored Apr 2, 2024
1 parent 9dc8e3b commit 76d8a44
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 27 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"@plaiceholder/next": "3.0.0",
"@remark-embedder/core": "3.0.2",
"@remark-embedder/transformer-oembed": "3.0.0",
"@shikijs/transformers": "1.2.0",
"@shikijs/transformers": "1.2.3",
"@sindresorhus/slugify": "2.2.1",
"@vercel/speed-insights": "1.0.10",
"bluebird": "3.7.2",
Expand All @@ -40,7 +40,7 @@
"remove-markdown": "0.5.0",
"server-only": "0.0.1",
"sharp": "0.32.6",
"shiki": "1.2.1"
"shiki": "1.2.3"
},
"devDependencies": {
"@argos-ci/playwright": "2.0.0",
Expand Down
34 changes: 12 additions & 22 deletions pnpm-lock.yaml

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

3 changes: 0 additions & 3 deletions src/lib/syntax.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ export async function highlight(code: string, lang: string) {
const html = codeToHtml(code, {
lang,
theme: 'tokyo-night',
colorReplacements: {
'#1a1b26': 'transparent',
},
transformers: [
transformerNotationDiff(),
transformerNotationHighlight(),
Expand Down

0 comments on commit 76d8a44

Please sign in to comment.