diff --git a/packages/mermaid/src/docs/intro/syntax-reference.md b/packages/mermaid/src/docs/intro/syntax-reference.md index b3bb635fb..2c017cea8 100644 --- a/packages/mermaid/src/docs/intro/syntax-reference.md +++ b/packages/mermaid/src/docs/intro/syntax-reference.md @@ -10,11 +10,10 @@ Diagram Examples can be found in the [Mermaid Live Editor](https://mermaid.live) One would notice that all **Diagrams definitions begin** with a declaration of the **diagram type**, followed by the definitions of the diagram and its contents. This declaration notifies the parser which kind of diagram the code is supposed to generate. The only exception to this a [Frontmatter](#frontmatter-for-diagram-code) configuration. -Code is case insensitive. Indents are completely ignored but recommended for structure and readability. Line comments can ignore anything on the line after '%% '. -Unknown words and misspellings will break a diagram, while parameters silently fail. Strings shouldn't be quoted and will parse based on expected parameters. +Unknown words and misspellings will break a diagram, while parameters silently fail. **Example** : The code below is for an Entity Relationship Diagram, specified by the `erDiagram` declaration. What follows is the definition of the different `Entities` represented in it. @@ -70,7 +69,7 @@ Used when Mermaid is called via an API, or through a `