Skip to content

Commit e93b490

Browse files
committed
Oppgrader til Docusaurus 3
1 parent 74820f1 commit e93b490

File tree

3 files changed

+8268
-17504
lines changed

3 files changed

+8268
-17504
lines changed

docusaurus.config.js

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
// @ts-check
22
// Note: type annotations allow type checking and IDEs autocompletion
33

4-
const lightCodeTheme = require("prism-react-renderer/themes/github");
5-
const darkCodeTheme = require("prism-react-renderer/themes/dracula");
4+
const {themes} = require("prism-react-renderer");
5+
const lightCodeTheme = themes.github;
6+
const darkCodeTheme = themes.dracula;
67

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

0 commit comments

Comments
 (0)