Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
stereobooster committed Dec 4, 2024
1 parent af2c63c commit f3f22a2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/docs/src/content/docs/start-here/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const cache = await getCache();

use(rehypeDiagram, {
strategy: "file",
darkTheme: "class",
darkScheme: "class",
class: "something",
cache,
});
Expand All @@ -35,7 +35,7 @@ use(rehypeDiagram, {
## Local configuration

````md
```some-diagram strategy=inline darkTheme=false class=interactive
```some-diagram strategy=inline darkScheme=false class=interactive
...
```
````
2 changes: 2 additions & 0 deletions packages/docs/src/content/docs/start-here/strategy.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ use(rehypeDiagram, {
});
```

add `fsPath` (`public/beoe`) to `.gitignore`

**Note**: if you deploy to Netlify, do not use path that starts with `.`.

## Pros and cons
Expand Down

0 comments on commit f3f22a2

Please sign in to comment.