mirror of
https://github.com/Funkoala14/knowledgebase_law.git
synced 2025-06-09 04:38:15 +08:00
15 lines
394 B
TypeScript
15 lines
394 B
TypeScript
/**
|
|
* 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;
|