chore: Cleanup

This commit is contained in:
Knut Sveidqvist
2022-10-07 10:40:01 +02:00
parent 66bc844cc9
commit 439274c5ae
14 changed files with 40 additions and 91 deletions

View File

@@ -0,0 +1,10 @@
export const id = 'mindmap';
export const detector = (txt: string) => {
return txt.match(/^\s*mindmap/) !== null;
};
export const loadDiagram = async () => {
const { diagram } = await import('./diagram-definition');
return { id, diagram };
};