mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-12-04 03:24:13 +01:00
Grammatical touch-ups
This commit is contained in:
@@ -24,7 +24,7 @@ mermaid.initialize({
|
||||
|
||||
## #2
|
||||
|
||||
In old versions you need to add CSS file to your HTML:
|
||||
In old versions you needed to reference a CSS file in your HTML:
|
||||
|
||||
```html
|
||||
<link rel="stylesheet" href="mermaid.min.css">
|
||||
@@ -36,9 +36,9 @@ or
|
||||
<link rel="stylesheet" href="mermaid.forest.min.css">
|
||||
```
|
||||
|
||||
Now it is not needed to do so. And there are no more CSS files in distribution files.
|
||||
Now it is not needed, and there are no more CSS files in the distribution files.
|
||||
|
||||
You just
|
||||
You just:
|
||||
|
||||
```javascript
|
||||
mermaid.initialize({
|
||||
@@ -46,6 +46,4 @@ mermaid.initialize({
|
||||
})
|
||||
```
|
||||
|
||||
and it works like a charm.
|
||||
|
||||
This is because now the CSS is inline with SVG for portability.
|
||||
and it works like a charm because now the CSS is inline with the SVG to allow simpler portability.
|
||||
|
||||
Reference in New Issue
Block a user