Skip to content

Commit

Permalink
Update to mermaid-isomorphic 3
Browse files Browse the repository at this point in the history
Notably this updated to Mermaid 11 and adds an optional peer dependency
on `playwright`.

See
https://github.com/remcohaszing/mermaid-isomorphic/releases/tag/v3.0.0
for more details.
  • Loading branch information
remcohaszing committed Oct 8, 2024
1 parent 9de622f commit 392c5f2
Show file tree
Hide file tree
Showing 11 changed files with 1,406 additions and 1,269 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,14 @@ using [playwright](https://playwright.dev).
## Installation

```sh
npm install remark-mermaidjs
npm install rehype-mermaidjs
```

In Node.js this package uses [playwright](https://playwright.dev) under the hood. To use it, you may
need to install additional dependencies. These can be installed with:
Outside of browsers `rehype-mermaidjs` uses [Playwright](https://playwright.dev). If you use this
outside of a browser, you need to install Playwright and a Playwright browser.

```sh
npm install playwright
npx playwright install --with-deps chromium
```

Expand Down
Loading

0 comments on commit 392c5f2

Please sign in to comment.