Skip to content

Commit

Permalink
syntax highlighting
Browse files Browse the repository at this point in the history
  • Loading branch information
milomg committed Dec 19, 2024
1 parent bdab638 commit 7f143af
Show file tree
Hide file tree
Showing 7 changed files with 2,641 additions and 2,795 deletions.
8 changes: 7 additions & 1 deletion app.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,13 @@ export default defineConfig({
jsxImportSource: "solid-js",
remarkPlugins: [
remarkGfm,
// [remarkShikiTwoslash.default, { langs: ["typescript"], themes: ["dark-plus", "light-plus"] }]
[
remarkShikiTwoslash.default,
{
lang: "typescript",
themes: ["dark-plus", "light-plus"],
},
],
],
rehypePlugins: [[rehypeRaw, { passThrough: nodeTypes }]],
}),
Expand Down
34 changes: 17 additions & 17 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,37 +4,37 @@
"license": "MIT",
"type": "module",
"dependencies": {
"@mdx-js/mdx": "^3.0.1",
"@mdx-js/rollup": "^3.0.1",
"@rollup/pluginutils": "^5.1.0",
"@mdx-js/mdx": "^3.1.0",
"@mdx-js/rollup": "^3.1.0",
"@rollup/pluginutils": "^5.1.4",
"@solidjs/meta": "^0.29.4",
"@solidjs/router": "^0.13.6",
"@solidjs/start": "^1.0.2",
"@solidjs/router": "^0.15.2",
"@solidjs/start": "^1.0.10",
"@types/mdx": "^2.0.13",
"mermaid": "^10.9.1",
"regl": "^2.1.0",
"mermaid": "^11.4.1",
"regl": "^2.1.1",
"rehype-raw": "^7.0.0",
"remark-gfm": "^4.0.0",
"remark-shiki-twoslash": "^3.1.3",
"solid-js": "^1.8.17",
"solid-js": "^1.9.3",
"solid-mdx": "^0.0.7",
"source-map": "^0.7.4",
"vfile": "^6.0.1",
"vinxi": "^0.3.12"
"vfile": "^6.0.3",
"vinxi": "^0.5.1"
},
"devDependencies": {
"@types/node": "^20.14.6",
"@typescript-eslint/eslint-plugin": "^7.13.1",
"@typescript-eslint/parser": "^7.13.1",
"eslint": "^8.57.0",
"prettier": "^3.3.2",
"typescript": "^5.4.5"
"@types/node": "^22.10.2",
"@typescript-eslint/eslint-plugin": "^8.18.1",
"@typescript-eslint/parser": "^8.18.1",
"eslint": "^9.17.0",
"prettier": "^3.4.2",
"typescript": "^5.7.2"
},
"scripts": {
"start": "vinxi dev",
"build": "vinxi build && cp .output/public/404/index.html .output/public/404.html",
"format": "prettier --write .",
"lint": "eslint 'src/*'"
},
"packageManager": "pnpm@9.4.0"
"packageManager": "pnpm@9.15.0"
}
Loading

0 comments on commit 7f143af

Please sign in to comment.