mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-01-28 07:03:17 +08:00
fix detectType
This commit is contained in:
parent
4885e7b7f1
commit
9f49259bca
@ -1,3 +1,4 @@
|
||||
// @ts-nocheck
|
||||
const directive =
|
||||
/[%]{2}[{]\s*(?:(?:(\w+)\s*:|(\w+))\s*(?:(?:(\w+))|((?:(?![}][%]{2}).|\r?\n)*))?\s*)(?:[}][%]{2})?/gi;
|
||||
const anyComment = /\s*%%.*\n/gm;
|
Loading…
x
Reference in New Issue
Block a user