Grammatical touch-ups

This commit is contained in:
Lorin Thwaits
2022-08-19 17:55:50 +01:00
parent a89b6fd054
commit 6635d4bc97
23 changed files with 273 additions and 290 deletions

View File

@@ -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.