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

20 lines
388 B
TypeScript
Raw Permalink Normal View History

2024-10-14 06:09:33 +00:00
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'
}
}