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