UNPKG

@md2docx/react-markdown

Version:

A modern, SSR-friendly React Markdown renderer that preserves the MDAST tree for reuse (e.g., mdast2docx), supports full JSX children, unified plugins, and component overrides.

2 lines (1 loc) 235 B
var o=({children:e,noWarning:n,node:{tagName:r}})=>(n||console.warn(`The <${r}> element has been unwrapped. Only its children will be rendered; all attributes are ignored. Use 'noWarning' to suppress this message.`),e);export{o as a};