Skip to content

Commit

Permalink
Fix prism theme syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
josh-padnick committed Jun 18, 2024
1 parent ebaf937 commit 49081d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
// Note: type annotations allow type checking and IDEs autocompletion
const path = require("path")

const lightCodeTheme = require("prism-react-renderer/themes/github")
const darkCodeTheme = require("prism-react-renderer/themes/dracula")
const lightCodeTheme = require("prism-react-renderer").themes.github
const darkCodeTheme = require("prism-react-renderer").themes.dracula
const cfg = require("config")

const captionsPlugin = require("./src/plugins/captions")
Expand Down

0 comments on commit 49081d2

Please sign in to comment.