Skip to content

Commit

Permalink
fear: added synthax highlighting
Browse files Browse the repository at this point in the history
  • Loading branch information
kujo205 committed Apr 18, 2024
1 parent be089dd commit f00cb5f
Show file tree
Hide file tree
Showing 15 changed files with 284 additions and 52 deletions.
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
src/misc/prism.js
1 change: 1 addition & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ const config = {
parserOptions: {
project: true,
},

plugins: ["@typescript-eslint"],
extends: [
"next/core-web-vitals",
Expand Down
7 changes: 0 additions & 7 deletions mdx-components.tsx

This file was deleted.

1 change: 0 additions & 1 deletion next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ const nextConfig = {
const withMDX = createMDX({
options: {
remarkPlugins: [remarkGfm],
rehypePlugins: [],
},
})

Expand Down
6 changes: 6 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,12 @@
"next": "^14.0.4",
"next-auth": "^4.24.5",
"next-mdx-remote": "^4.4.1",
"prismjs": "^1.29.0",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-hook-form": "^7.49.3",
"rehype-code-titles": "^1.2.0",
"rehype-prism-plus": "^2.0.0",
"remark-gfm": "3.0.0",
"server-only": "^0.0.1",
"superjson": "^2.2.1",
Expand All @@ -59,11 +62,14 @@
"zod": "^3.22.4"
},
"devDependencies": {
"@tailwindcss/typography": "^0.5.12",
"@types/eslint": "^8.44.7",
"@types/node": "^18.17.0",
"@types/prismjs": "^1.26.3",
"@types/react": "^18.2.37",
"@types/react-dom": "^18.2.15",
"@types/react-highlight": "^0.12.8",
"@types/react-syntax-highlighter": "^15.5.11",
"@typescript-eslint/eslint-plugin": "^6.11.0",
"@typescript-eslint/parser": "^6.11.0",
"autoprefixer": "^10.4.14",
Expand Down
198 changes: 198 additions & 0 deletions pnpm-lock.yaml

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

Loading

0 comments on commit f00cb5f

Please sign in to comment.