@readme/markdown
Version:
ReadMe's React-based Markdown parser
13 lines (12 loc) • 420 B
TypeScript
/**
* Pattern to match component tags (PascalCase or snake_case)
*/
export declare const componentTagPattern: RegExp;
/**
* MDAST flow (block-level) content types that cannot be represented
* inside GFM table cells. Used to decide whether a table should be
* serialized as GFM or as JSX `<Table>` syntax.
*
* @see https://github.com/syntax-tree/mdast#flowcontent
*/
export declare const FLOW_TYPES: Set<string>;