2022-10-07 10:40:01 +02:00

11 lines
251 B
TypeScript

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 };
};