@plait-board/markdown-to-drawnix
v0.0.8
Published
Markdown to Drawnix mind map
Downloads
723
Readme
markdown-to-drawnix
Convert markdown to drawnix mind map.
Set up
Install packages:
yarnStart development playground:
yarn startBuild command:
yarn buildGet started
parseMarkdownToDrawnix(markdownDefinition: string)The markdownDefinition is the markdown text definition.
Example code:
import { parseMarkdownToDrawnix } from "@drawnix/markdown-to-drawnix";
try {
const mind = await parseMarkdownToDrawnix(
markdownDefinition
);
// Render mind on Drawnix
} catch (e) {
// Parse error, displaying error message to users
}Playground
Try out here.
Thanks
Inspired by remark-parse
