Skip to content

Commit

Permalink
chore(docs): include additionalLanguages for Prism (#14636)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrazauskas authored Oct 23, 2023
1 parent 881675d commit e7280a2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
1 change: 1 addition & 0 deletions website/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,7 @@ const config = {
},
image: 'img/opengraph.png',
prism: {
additionalLanguages: ['bash', 'diff', 'json'],
theme: require('./src/prism/themeLight'),
darkTheme: require('./src/prism/themeDark'),
},
Expand Down
3 changes: 2 additions & 1 deletion website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,14 @@
]
},
"dependencies": {
"@docusaurus/core": "^3.0.0-beta.0",
"@docusaurus/core": "3.0.0-rc.0",
"@docusaurus/plugin-client-redirects": "3.0.0-rc.0",
"@docusaurus/plugin-pwa": "3.0.0-rc.0",
"@docusaurus/preset-classic": "3.0.0-rc.0",
"@docusaurus/remark-plugin-npm2yarn": "3.0.0-rc.0",
"clsx": "^2.0.0",
"docusaurus-remark-plugin-tab-blocks": "^2.0.0-rc.0",
"prism-react-renderer": "^2.1.0",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-github-btn": "^1.3.0",
Expand Down
5 changes: 3 additions & 2 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2040,7 +2040,7 @@ __metadata:
languageName: node
linkType: hard

"@docusaurus/core@npm:3.0.0-rc.0, @docusaurus/core@npm:^3.0.0-beta.0":
"@docusaurus/core@npm:3.0.0-rc.0":
version: 3.0.0-rc.0
resolution: "@docusaurus/core@npm:3.0.0-rc.0"
dependencies:
Expand Down Expand Up @@ -13276,7 +13276,7 @@ __metadata:
dependencies:
"@babel/core": ^7.11.6
"@crowdin/cli": ^3.5.2
"@docusaurus/core": ^3.0.0-beta.0
"@docusaurus/core": 3.0.0-rc.0
"@docusaurus/module-type-aliases": 3.0.0-rc.0
"@docusaurus/plugin-client-redirects": 3.0.0-rc.0
"@docusaurus/plugin-pwa": 3.0.0-rc.0
Expand All @@ -13289,6 +13289,7 @@ __metadata:
graphql: ^16.3.0
graphql-request: ^6.0.0
js-yaml: ^4.1.0
prism-react-renderer: ^2.1.0
react: 18.2.0
react-dom: 18.2.0
react-github-btn: ^1.3.0
Expand Down

0 comments on commit e7280a2

Please sign in to comment.