mirror of
https://github.com/Funkoala14/knowledgebase_law.git
synced 2025-06-08 23:18:17 +08:00
16 lines
422 B
TypeScript
16 lines
422 B
TypeScript
/**
|
|
* 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;
|