Files
site/node_modules/mdast-util-gfm-footnote/index.d.ts
T
site-admin 3ac81d5a52
deploy / build-and-publish (push) Successful in 1m37s
the editable site (validation-lab)
2026-11-21 08:03:55 +01:00

35 lines
722 B
TypeScript

export {gfmFootnoteFromMarkdown, gfmFootnoteToMarkdown} from './lib/index.js'
export interface ToMarkdownOptions {
// To do: next major: change default.
/**
* Use a blank line for the first line of footnote definitions
* (`boolean`, default: `false`).
*/
firstLineBlank?: boolean | null | undefined
}
declare module 'mdast-util-to-markdown' {
interface ConstructNameMap {
/**
* Footnote definition.
*
* ```markdown
* > | [^a]: B.
* ^^^^^^^^
* ```
*/
footnoteDefinition: 'footnoteDefinition'
/**
* Footnote reference.
*
* ```markdown
* > | A[^b].
* ^^^^
* ```
*/
footnoteReference: 'footnoteReference'
}
}