site/node_modules/micromark-extension-math/dev/index.d.ts

21 lines
578 B
TypeScript
Raw Permalink Normal View History

2024-10-14 06:09:33 +00:00
export {mathHtml, type Options as HtmlOptions} from './lib/html.js'
export {math, type Options} from './lib/syntax.js'
declare module 'micromark-util-types' {
interface TokenTypeMap {
mathFlow: 'mathFlow'
mathFlowFence: 'mathFlowFence'
mathFlowFenceMeta: 'mathFlowFenceMeta'
mathFlowFenceSequence: 'mathFlowFenceSequence'
mathFlowValue: 'mathFlowValue'
mathText: 'mathText'
mathTextData: 'mathTextData'
mathTextPadding: 'mathTextPadding'
mathTextSequence: 'mathTextSequence'
}
interface CompileData {
mathFlowOpen?: boolean
}
}