mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-01 14:46:41 +02:00
4 lines
98 B
TypeScript
4 lines
98 B
TypeScript
export const detector = (txt: string) => {
|
|
return txt.match(/^\s*example-diagram/) !== null;
|
|
};
|