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

16 lines
422 B
TypeScript
Raw Permalink Normal View History

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