mirror of
https://github.com/Sevichecc/Urara-Blog.git
synced 2025-05-04 12:49:32 +08:00
17 lines
646 B
Text
17 lines
646 B
Text
/**
|
||
* @param value Markdown to parse (`string` or `Buffer`).
|
||
* @param [encoding] Character encoding to understand `value` as when it’s a `Buffer` (`string`, default: `'utf8'`).
|
||
* @param [options] Configuration
|
||
*/
|
||
export const micromark: ((
|
||
value: Value,
|
||
encoding: Encoding,
|
||
options?: import('micromark-util-types').Options | undefined
|
||
) => string) &
|
||
((
|
||
value: Value,
|
||
options?: import('micromark-util-types').Options | undefined
|
||
) => string)
|
||
export type Options = import('micromark-util-types').Options
|
||
export type Value = import('micromark-util-types').Value
|
||
export type Encoding = import('micromark-util-types').Encoding
|