mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-01-14 06:43:25 +08:00
add 'horz' to cSpell (in pieDetector.ts commented out barChart work)
This commit is contained in:
parent
e1c2b1ddb5
commit
98e4b6f338
@ -36,6 +36,7 @@
|
|||||||
"graphlib",
|
"graphlib",
|
||||||
"grav",
|
"grav",
|
||||||
"greywolf",
|
"greywolf",
|
||||||
|
"horz",
|
||||||
"inkdrop",
|
"inkdrop",
|
||||||
"jaoude",
|
"jaoude",
|
||||||
"jison",
|
"jison",
|
||||||
|
@ -2,6 +2,5 @@ import type { DiagramDetector } from '../../diagram-api/types';
|
|||||||
|
|
||||||
export const pieDetector: DiagramDetector = (txt) => {
|
export const pieDetector: DiagramDetector = (txt) => {
|
||||||
const logOutput = txt.match(/^\s*pie/) !== null || txt.match(/^\s*bar/) !== null;
|
const logOutput = txt.match(/^\s*pie/) !== null || txt.match(/^\s*bar/) !== null;
|
||||||
console.log(logOutput);
|
|
||||||
return logOutput;
|
return logOutput;
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user