IOweb/node_modules/mdast-util-gfm-strikethrough/index.d.ts
2026-07-03 15:07:38 -05:00

19 lines
388 B
TypeScript

export {
gfmStrikethroughFromMarkdown,
gfmStrikethroughToMarkdown
} from './lib/index.js'
// Add custom data tracked to turn a syntax tree into markdown.
declare module 'mdast-util-to-markdown' {
interface ConstructNameMap {
/**
* Whole strikethrough.
*
* ```markdown
* > | ~~a~~
* ^^^^^
* ```
*/
strikethrough: 'strikethrough'
}
}