From d2b7a3ec28c0e89cca19a0f1948b67c9ce1e629b Mon Sep 17 00:00:00 2001 From: Yash-Singh1 Date: Mon, 1 Nov 2021 18:02:49 -0700 Subject: [PATCH] Add syntax highlight to some erdiagrams --- docs/entityRelationshipDiagram.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/entityRelationshipDiagram.md b/docs/entityRelationshipDiagram.md index 171081d23..53a5c0ab3 100644 --- a/docs/entityRelationshipDiagram.md +++ b/docs/entityRelationshipDiagram.md @@ -7,7 +7,7 @@ Note that practitioners of ER modelling almost always refer to *entity types* si Mermaid can render ER diagrams -```markdown +```mermaid-code erDiagram CUSTOMER ||--o{ ORDER : places ORDER ||--|{ LINE-ITEM : contains @@ -27,7 +27,7 @@ Relationships between entities are represented by lines with end markers represe ER diagrams can be used for various purposes, ranging from abstract logical models devoid of any implementation details, through to physical models of relational database tables. It can be useful to include attribute definitions on ER diagrams to aid comprehension of the purpose and meaning of entities. These do not necessarily need to be exhaustive; often a small subset of attributes is enough. Mermaid allows to be defined in terms of their *type* and *name*. -```markdown +```mermaid-code erDiagram CUSTOMER ||--o{ ORDER : places CUSTOMER {