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

15 lines
394 B
TypeScript
Raw Normal View History

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