site/node_modules/mdast-util-gfm-footnote/index.d.ts

26 lines
483 B
TypeScript
Raw Permalink Normal View History

2024-10-14 06:09:33 +00:00
export {gfmFootnoteFromMarkdown, gfmFootnoteToMarkdown} from './lib/index.js'
declare module 'mdast-util-to-markdown' {
interface ConstructNameMap {
/**
* Footnote reference.
*
* ```markdown
* > | A[^b].
* ^^^^
* ```
*/
footnoteReference: 'footnoteReference'
/**
* Footnote definition.
*
* ```markdown
* > | [^a]: B.
* ^^^^^^^^
* ```
*/
footnoteDefinition: 'footnoteDefinition'
}
}