Skip to content

Commit

Permalink
Reactivate Mermaid example
Browse files Browse the repository at this point in the history
  • Loading branch information
huijing committed Oct 16, 2023
1 parent 8e89e31 commit 5834855
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
Binary file modified bun.lockb
Binary file not shown.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@
},
"dependencies": {
"@astrojs/react": "^3.0.3",
"@astrojs/starlight": "^0.11.0",
"@astrojs/starlight": "^0.11.1",
"@interledger/docs-design-system": "^0.1.0",
"@types/react": "^18.2.28",
"@types/react-dom": "^18.2.13",
"astro": "^3.2.4",
"astro": "^3.3.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"remark-mermaidjs": "^6.0.0",
Expand Down
8 changes: 2 additions & 6 deletions src/content/docs/components/mermaidwrapper.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,8 @@ If you happen to be using some sort of format on save functionality in your code

## Working example

:::caution
Live example is temporarily disabled because of a known yet unresolvable issue with the [remark-mermaidjs]() plugin's Playwright dependency causing a build failure in with our deployment pipeline. This issue always occurs when Playwright releases a new version, but our build runners keep looking for browser executables installed in an older folder version. Possibly because of caching? We have yet to find a way to manually clear the Github Actions cache, nor the Netlify cache.
:::

{/* prettier-ignore */}
{/* <MermaidWrapper client:load>
<MermaidWrapper client:load>

```mermaid
sequenceDiagram
Expand All @@ -76,4 +72,4 @@ sequenceDiagram
Bob-->>John: Jolly good!
```

</MermaidWrapper> */}
</MermaidWrapper>

0 comments on commit 5834855

Please sign in to comment.