site/node_modules/mdast-util-to-hast/lib/handlers/heading.d.ts

15 lines
388 B
TypeScript
Raw Permalink Normal View History

2024-10-14 06:09:33 +00:00
/**
* Turn an mdast `heading` node into hast.
*
* @param {State} state
* Info passed around.
* @param {Heading} node
* mdast node.
* @returns {Element}
* hast node.
*/
export function heading(state: State, node: Heading): Element;
export type Element = import('hast').Element;
export type Heading = import('mdast').Heading;
export type State = import('../state.js').State;