site/node_modules/mdast-util-gfm-strikethrough/index.d.ts
2024-10-14 08:09:33 +02:00

20 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'
}
}