Files
skills-here-run-place/node_modules/micromark-extension-gfm-strikethrough/index.d.ts
Alejandro Martinez f09af719cf Initial commit
2026-02-12 02:04:10 +01:00

25 lines
668 B
TypeScript

export {gfmStrikethroughHtml} from './lib/html.js'
export {gfmStrikethrough} from './lib/syntax.js'
/**
* Configuration (optional).
*/
export interface Options {
/**
* Whether to support strikethrough with a single tilde (default: `true`).
*
* Single tildes work on github.com, but are technically prohibited by the
* GFM spec.
*/
singleTilde?: boolean | null | undefined
}
declare module 'micromark-util-types' {
interface TokenTypeMap {
strikethroughSequence: 'strikethroughSequence'
strikethroughSequenceTemporary: 'strikethroughSequenceTemporary'
strikethrough: 'strikethrough'
strikethroughText: 'strikethroughText'
}
}