remark-html
Version:
remark plugin to compile Markdown to HTML
23 lines (20 loc) • 433 B
TypeScript
import type {Root} from 'mdast'
import type {Plugin} from 'unified'
import type {Options} from './lib/index.js'
export type {Options} from './lib/index.js'
/**
* Add support for serializing to HTML.
*
* @this
* Unified processor.
* @param
* Configuration (optional).
* @returns
* Nothing.
*/
declare const remarkHtml: Plugin<
[(Readonly<Options> | null | undefined)?],
Root,
string
>
export default remarkHtml