Skip to content

Commit

Permalink
Add more languages to prism and disable dark theme
Browse files Browse the repository at this point in the history
  • Loading branch information
remarcable committed Jan 22, 2025
1 parent 3fe02d7 commit 3234710
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ require("dotenv").config();

const { themes } = require("prism-react-renderer");
const lightCodeTheme = themes.github;
const darkCodeTheme = themes.dracula;
const math = require("remark-math");
const katex = require("rehype-katex");

Expand Down Expand Up @@ -332,8 +331,7 @@ const config = {
},
prism: {
theme: lightCodeTheme,
darkTheme: darkCodeTheme,
additionalLanguages: ["bash"],
additionalLanguages: ["bash", "protobuf", "solidity"],
},
}),
scripts: [
Expand Down

0 comments on commit 3234710

Please sign in to comment.