UNPKG

markdown-to-jsx

Version:

A very fast and versatile markdown toolchain. AST, React, React Native, SolidJS, Vue, Markdown, and HTML output available with full customization.

2 lines (1 loc) 787 B
var{defineProperty:C,getOwnPropertyNames:G,getOwnPropertyDescriptor:H}=Object,J=Object.prototype.hasOwnProperty;function K(j){return this[j]}var L=j=>{var q=(F??=new WeakMap).get(j),v;if(q)return q;if(q=C({},"__esModule",{value:!0}),j&&typeof j=="object"||typeof j=="function")for(var z of G(j))J.call(q,z)||C(q,z,{get:K.bind(j,z),enumerable:!(v=H(j,z))||v.enumerable});return F.set(j,q),q},F,N=j=>j;function Q(j,q){this[j]=N.bind(null,q)}var R=(j,q)=>{for(var v in q)C(j,v,{get:q[v],enumerable:!0,configurable:!0,set:Q.bind(q,v)})},V={};R(V,{decodeEntity:()=>S,NAMED_CODES_TO_UNICODE:()=>U}),module.exports=L(V);var B;function S(j){if(!B)if(typeof document<"u")B=document.createElement("textarea");else return;var q="&"+j+";";B.innerHTML=q;var v=B.value;return v!==q?v:void 0}var U={};