Skip to content

Commit

Permalink
Add support for mermaid 11.0.0 (#547)
Browse files Browse the repository at this point in the history
* upgraded mermaid dependency
* yarn lock updated
* version upgrade
* Keep support for mermaid 10

---------

Co-authored-by: Hardik Patel <[email protected]>
Co-authored-by: Hardik <[email protected]>
  • Loading branch information
3 people authored Oct 1, 2024
1 parent 39dfb63 commit 0c81a5f
Show file tree
Hide file tree
Showing 4 changed files with 339 additions and 389 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ public options: KatexOptions = {
To add [Mermaid](https://mermaid-js.github.io/) library to your `package.json` use the following command.

```bash
npm install mermaid@^10.6.0 --save
npm install mermaid@^11.0.0 --save
```

To activate [Mermaid](https://mermaid-js.github.io/) diagramming and charting tool you will need to include...
Expand Down
4 changes: 2 additions & 2 deletions lib/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@
"clipboard": "^2.0.11",
"emoji-toolkit": ">= 8.0.0 < 10.0.0",
"katex": "^0.16.0",
"mermaid": "^10.6.0",
"mermaid": ">= 10.6.0 < 12.0.0",
"prismjs": "^1.28.0"
},
"sideEffects": false
}
}
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
"katex": "^0.16.2",
"marked": "^12.0.0",
"marked-gfm-heading-id": "^3.1.3",
"mermaid": "^10.6.0",
"mermaid": "^11.2.1",
"ngx-markdown": "file:lib",
"prismjs": "^1.29.0",
"rxjs": "~6.5.3",
Expand Down Expand Up @@ -106,4 +106,4 @@
"rimraf": "^2.7.0",
"typescript": "~5.4.2"
}
}
}
Loading

0 comments on commit 0c81a5f

Please sign in to comment.