UNPKG

@readme/markdown

Version:

ReadMe's React-based Markdown parser

15 lines (14 loc) 485 B
import type { Extension } from 'micromark-util-types'; declare module 'micromark-util-types' { interface TokenTypeMap { jsxTable: 'jsxTable'; jsxTableData: 'jsxTableData'; } } /** * Micromark extension that tokenizes `<Table>...</Table>` as a single flow block. * * Prevents CommonMark HTML block type 6 from matching `<Table>` (case-insensitive * match against `table`) and fragmenting it at blank lines. */ export declare function jsxTable(): Extension;