Skip to content

Commit

Permalink
Merge pull request #38 from ohitspaul/main
Browse files Browse the repository at this point in the history
Fix typo in C4Context
  • Loading branch information
johanneswuerbach authored Sep 13, 2023
2 parents a205614 + 904995d commit 18c31da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Mermaid/hooks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*/

const mermaidStart =
/^(\s*)(graph|flowchart|sequenceDiagram|classDiagram|stateDiagram|erDiagram|journey|gantt|pie|requirementDiagram|gitGraph|C4Contex|C4Container|C4Component|C4Dynamic|C4Deployment|timeline)/;
/^(\s*)(graph|flowchart|sequenceDiagram|classDiagram|stateDiagram|erDiagram|journey|gantt|pie|requirementDiagram|gitGraph|C4Context|C4Container|C4Component|C4Dynamic|C4Deployment|timeline)/;

export const isMermaidCode = (code: string): boolean => {
if (code.startsWith('%%{init')) {
Expand Down

0 comments on commit 18c31da

Please sign in to comment.