Convert markdown text to act nodes! Uses `remark` to parse text into `mdast`, and then provides an function to turn `mdast` nodes into act nodes.
npm install @lukekaalim/act-markdownConvert markdown text to act nodes! Uses remark to
parse text into mdast, and then provides an function
to turn mdast nodes into act nodes.
Install via npm.
``sh`
npm install @lukekaalim/act-markdown
And then use the Markdown component
to render the text.
`tsx
import { Markdown } from '@lukekaalim/act-markdown';
const myMarkdownText =
Some text;
const MyApp = () => {
return
};
``
Support for the following features builtin:
- [x] MDX support
- [x] Github-flavored markdown
- [ ] Frontmatter