chore: wipe legacy codebase for complete project restart

This commit is contained in:
leonardo committed 2026-09-16 21:50:39 +00:00
1 parent a90af21a8c
commit e94410f388
11161 files changed
+1628844 -2097

No files matched your search

+55
View File
@@ -0,0 +1,55 @@
import type {Align} from './lib/infer.js'
export {gfmTableHtml} from './lib/html.js'
export {gfmTable} from './lib/syntax.js'
/**
* Augment types.
*/
declare module 'micromark-util-types' {
/**
* State tracked to compile events as HTML,
* extended by `micromark-extension-gfm-table`.
*/
interface CompileData {
/**
* Alignment of current table.
*/
tableAlign?: Array<Align> | undefined
/**
* Current table column.
*/
tableColumn?: number | undefined
}
/**
* Augment token;
* `align` is patched on `table` tokens by
* `micromark-extension-gfm-table`.
*/
interface Token {
/**
* Alignment of current table.
*/
_align?: Array<Align> | undefined
}
/**
* Map of allowed token types,
* extended by `micromark-extension-gfm-table`.
*/
interface TokenTypeMap {
tableBody: 'tableBody'
tableCellDivider: 'tableCellDivider'
tableContent: 'tableContent'
tableData: 'tableData'
tableDelimiterFiller: 'tableDelimiterFiller'
tableDelimiterMarker: 'tableDelimiterMarker'
tableDelimiterRow: 'tableDelimiterRow'
tableDelimiter: 'tableDelimiter'
tableHeader: 'tableHeader'
tableHead: 'tableHead'
tableRow: 'tableRow'
table: 'table'
}
}