Skip to content

Commit

Permalink
fix: make prism respect docusaurus' additionalLanguages
Browse files Browse the repository at this point in the history
  • Loading branch information
Guaxinim5573 committed Apr 18, 2024
1 parent 99f97a1 commit ef7c75b
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 27 deletions.
1 change: 1 addition & 0 deletions docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ const config: Config = {
prism: {
theme: catppuccinLatteTheme,
darkTheme: catppuccinMochaTheme,
additionalLanguages: ['java', 'ini']
},
} satisfies Preset.ThemeConfig,
plugins: [
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
"docusaurus2-dotenv": "^1.4.0",
"postcss": "^8.4.38",
"prism-react-renderer": "^2.3.1",
"prismjs": "^1.29.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"tailwindcss": "^3.4.3"
Expand Down
3 changes: 3 additions & 0 deletions pnpm-lock.yaml

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

27 changes: 0 additions & 27 deletions src/theme/prism-include-languages.js

This file was deleted.

0 comments on commit ef7c75b

Please sign in to comment.