14 lines
562 B
TypeScript
14 lines
562 B
TypeScript
/**
|
|
* Create an HTML extension for `micromark` to support GFM task list items
|
|
* syntax.
|
|
*
|
|
* @returns {Extension}
|
|
* Extension for `micromark` that can be passed in `htmlExtensions` to
|
|
* support GFM task list items when serializing to HTML.
|
|
*/
|
|
export function gfmTaskListItem(): Extension
|
|
export type Extension = import('micromark-util-types').Extension
|
|
export type State = import('micromark-util-types').State
|
|
export type TokenizeContext = import('micromark-util-types').TokenizeContext
|
|
export type Tokenizer = import('micromark-util-types').Tokenizer
|