Skip to content

Commit

Permalink
Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
lelouchB committed Mar 1, 2024
1 parent 0793cb4 commit a77a30e
Show file tree
Hide file tree
Showing 4 changed files with 19,047 additions and 12,036 deletions.
14 changes: 11 additions & 3 deletions frontend/docusaurus.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
const lightCodeTheme = require("prism-react-renderer/themes/palenight")
const darkCodeTheme = require("prism-react-renderer/themes/dracula")
import { themes } from "prism-react-renderer"
const lightCodeTheme = themes.palenight
const darkCodeTheme = themes.dracula

/** @type {import('@docusaurus/types').DocusaurusConfig} */

Expand Down Expand Up @@ -35,6 +36,13 @@ module.exports = {
},
],
},
liveCodeBlock: {
/**
* The position of the live playground, above or under the editor
* Possible values: "top" | "bottom"
*/
playgroundPosition: "bottom",
},
footer: {
style: "dark",
links: [
Expand Down Expand Up @@ -165,8 +173,8 @@ module.exports = {
},
],
],
themes: ["@docusaurus/theme-live-codeblock"],
plugins: [
"@docusaurus/theme-live-codeblock",
[
"@docusaurus/plugin-pwa",
{
Expand Down
Loading

0 comments on commit a77a30e

Please sign in to comment.