React library for parsing and rendering Discord Markdown
npm install @discord/markdown-react- Build WASM module
```
pnpm build
`js
import Markdown from '@discord/markdown-react';
function Text({ children }) {
return {children};
}
function Paragraph({ children }) {
return {children};
}
const renderers = {
text: Text,
paragraph: Paragraph,
quote: Quote,
...otherRenderers, // define renderers for other node types
};
export function MyMarkdown({ content }) {
return
}
``