Skip to content

Commit

Permalink
Merge pull request #109 from w3f/code-format
Browse files Browse the repository at this point in the history
Code format fix
  • Loading branch information
DrW3RK authored Aug 3, 2023
2 parents 29c63c0 + 9da70a0 commit 853e2f4
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ module.exports = {
},
themes: ["@docusaurus/theme-mermaid"],
themeConfig: {
prism: {
additionalLanguages: ['rust'],
theme: require('prism-react-renderer/themes/dracula'),
},
mermaid: {
theme: { light: 'neutral', dark: 'neutral' },
},
Expand Down Expand Up @@ -142,10 +146,7 @@ module.exports = {
],
copyright: `Copyright © ${new Date().getFullYear()} Web3 Foundation. Built with Docusaurus.`,
},
prism: {
theme: lightCodeTheme,
darkTheme: darkCodeTheme,
},

},
presets: [
[
Expand Down

0 comments on commit 853e2f4

Please sign in to comment.