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) 668 B
"use strict";var s=Object.defineProperty;var p=Object.getOwnPropertyDescriptor;var i=Object.getOwnPropertyNames;var m=Object.prototype.hasOwnProperty;var a=(n,o)=>{for(var t in o)s(n,t,{get:o[t],enumerable:!0})},l=(n,o,t,r)=>{if(o&&typeof o=="object"||typeof o=="function")for(let e of i(o))!m.call(n,e)&&e!==t&&s(n,e,{get:()=>o[e],enumerable:!(r=p(o,e))||r.enumerable});return n};var g=n=>l(s({},"__esModule",{value:!0}),n);var P={};a(P,{Omit:()=>h});module.exports=g(P);var h=({noWarning:n,node:{tagName:o}})=>(n||console.warn(`The <${o}> element has been omitted along with its content. Use 'noWarning' to suppress this message.`),null);0&&(module.exports={Omit});