astro-ghostcms/.pnpm-store/v3/files/3c/b44610b432651fc7145bc6241a8...

18 lines
405 B
Plaintext
Raw Permalink Normal View History

2024-02-14 14:10:47 +00:00
/**
* @typedef {import('mdast').Parents} Parents
* @typedef {import('mdast').Text} Text
* @typedef {import('../types.js').Info} Info
* @typedef {import('../types.js').State} State
*/
/**
* @param {Text} node
* @param {Parents | undefined} _
* @param {State} state
* @param {Info} info
* @returns {string}
*/
export function text(node, _, state, info) {
return state.safe(node.value, info)
}