 markdown = '---\nmarkmap:\n  maxWidth: 500\n---\n\n' + markdown;
                }

                const {root} = await transformer.transform(markdown);
                const mm = Markmap.create(svg, {
                    autoFit: true,
                    duration: 400,
                    zoom: true,
                    pan: true,
                    maxWidth: 550,
                    initialExpandLevel: 999
                });
                mm.setData(root);

                await new Promise(resolve