Skip to content

Commit

Permalink
fix(website): use prism-react-renderer v2 with docusaurus
Browse files Browse the repository at this point in the history
  • Loading branch information
orhun committed Dec 18, 2023
1 parent fa5d2e2 commit 664ff9b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions website/docusaurus.config.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// @ts-check
// Note: type annotations allow type checking and IDEs autocompletion

const lightCodeTheme = require("prism-react-renderer/themes/github");
const darkCodeTheme = require("prism-react-renderer/themes/vsDark");
const lightCodeTheme = require("prism-react-renderer").themes.github;
const darkCodeTheme = require("prism-react-renderer").themes.vsDark;

/** @type {import('@docusaurus/types').Config} */
const config = {
Expand Down

0 comments on commit 664ff9b

Please sign in to comment.