codehike
codehike copied to clipboard
Convert paragraph content to markdown
- Introduce
isMarkdownEnabledhelper function to detect whether an MDX element setsmarkdownEnabled(either via shorthand or boolean expression). - Convert paragraph content to Markdown if
markdownEnabledis set, accumulating the result in a newnode.markdownfield. - Use
toMarkdownfrommdast-util-to-markdownto transform AST nodes to Markdown.
@gurkerl83 is attempting to deploy a commit to the codehike Team on Vercel.
A member of the Team first needs to authorize it.
Try codehike from this pull request in your project with:
npm i https://pkg.pr.new/codehike@506