This commit is contained in:
Sidharth Vinod
2022-09-03 13:05:47 +05:30
parent c702e12a42
commit 6167eda6b6
48 changed files with 1442 additions and 1472 deletions

View File

@@ -1,4 +1,5 @@
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT. Please edit corresponding file in src/docs.
# Breaking changes
### Breaking changes from history version to latest version:
@@ -28,13 +29,13 @@ mermaid.initialize({
In old versions you needed to reference a CSS file in your HTML:
```html
<link rel="stylesheet" href="mermaid.min.css">
<link rel="stylesheet" href="mermaid.min.css" />
```
or
```html
<link rel="stylesheet" href="mermaid.forest.min.css">
<link rel="stylesheet" href="mermaid.forest.min.css" />
```
Now it is not needed, and there are no more CSS files in the distribution files.
@@ -43,8 +44,8 @@ You just:
```javascript
mermaid.initialize({
theme: 'forest'
})
theme: 'forest',
});
```
and it works like a charm because now the CSS is inline with the SVG to allow simpler portability.