mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-10-10 01:29:49 +02:00
chore(katex): lint:fix
This commit is contained in:
@@ -2,7 +2,6 @@
|
|||||||
|
|
||||||
## [10.0.0](https://github.com/mermaid-js/mermaid/releases/tag/v10.0.0)
|
## [10.0.0](https://github.com/mermaid-js/mermaid/releases/tag/v10.0.0)
|
||||||
|
|
||||||
|
|
||||||
### Mermaid is ESM only!
|
### Mermaid is ESM only!
|
||||||
|
|
||||||
We've dropped CJS support. So, you will have to update your import scripts as follows.
|
We've dropped CJS support. So, you will have to update your import scripts as follows.
|
||||||
@@ -15,6 +14,7 @@ We've dropped CJS support. So, you will have to update your import scripts as fo
|
|||||||
```
|
```
|
||||||
|
|
||||||
You can keep using v9 by adding the `@9` in the CDN URL.
|
You can keep using v9 by adding the `@9` in the CDN URL.
|
||||||
|
|
||||||
```diff
|
```diff
|
||||||
- <script src="https://cdn.jsdelivr.net/npm/mermaid/dist/mermaid.js"></script>
|
- <script src="https://cdn.jsdelivr.net/npm/mermaid/dist/mermaid.js"></script>
|
||||||
+ <script src="https://cdn.jsdelivr.net/npm/mermaid@9/dist/mermaid.js"></script>
|
+ <script src="https://cdn.jsdelivr.net/npm/mermaid@9/dist/mermaid.js"></script>
|
||||||
|
Reference in New Issue
Block a user