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.
9 lines (8 loc) • 360 B
text/typescript
declare const NAMED_CODES_TO_UNICODE: Record<string, string>;
/**
* Decode a named entity using the lookup table.
* Returns the decoded character or undefined if not found.
* This function enables browser builds to swap in DOM-based decoding.
*/
declare function decodeEntity(name: string): string | undefined;
export { NAMED_CODES_TO_UNICODE, decodeEntity };