kjelsrud.dev/node_modules/mdast-util-gfm-footnote/index.d.ts

27 lines
560 B
TypeScript
Raw Normal View History

2023-07-19 21:31:30 +02:00
export {gfmFootnoteFromMarkdown, gfmFootnoteToMarkdown} from './lib/index.js'
declare module 'mdast-util-to-markdown' {
// eslint-disable-next-line @typescript-eslint/consistent-type-definitions
interface ConstructNameMap {
/**
* Footnote reference.
*
* ```markdown
* > | A[^b].
* ^^^^
* ```
*/
footnoteReference: 'footnoteReference'
/**
* Footnote definition.
*
* ```markdown
* > | [^a]: B.
* ^^^^^^^^
* ```
*/
footnoteDefinition: 'footnoteDefinition'
}
}