Skip to content

Commit

Permalink
now it works
Browse files Browse the repository at this point in the history
  • Loading branch information
stereobooster committed Dec 1, 2024
1 parent e2112fe commit 5c3c641
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/demo/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ pnpm-debug.log*

# macOS-specific files
.DS_Store
.beoe
public/beoe
5 changes: 3 additions & 2 deletions packages/demo/astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@ const cache = await getCache();
// requerd for correct displaying mobile warning
const className = "not-content";
const conf = {
// cache,
cache,
strategy: "f-img-class-dark-mode",
// do not use .beoe for Netlify deployments
fsPath: "public/beoe",
webPath: "/beoe",
};
Expand Down Expand Up @@ -48,7 +49,7 @@ export default defineConfig({
[rehypeGraphviz, { cache, class: className }],
[rehypeVizdom, { cache, class: className }],
[rehypeMermaid, conf],
[rehypeGnuplot, { ...conf, strategy: "f-img" }],
[rehypeGnuplot, conf],
[rehypeD2, conf],
],
},
Expand Down

0 comments on commit 5c3c641

Please sign in to comment.