add 'horz' to cSpell (in pieDetector.ts commented out barChart work)

This commit is contained in:
Ashley Engelund (weedySeaDragon @ github) 2022-11-21 16:58:59 -08:00
parent e1c2b1ddb5
commit 98e4b6f338
2 changed files with 1 additions and 1 deletions

View File

@ -36,6 +36,7 @@
"graphlib",
"grav",
"greywolf",
"horz",
"inkdrop",
"jaoude",
"jison",

View File

@ -2,6 +2,5 @@ import type { DiagramDetector } from '../../diagram-api/types';
export const pieDetector: DiagramDetector = (txt) => {
const logOutput = txt.match(/^\s*pie/) !== null || txt.match(/^\s*bar/) !== null;
console.log(logOutput);
return logOutput;
};