mirror of
https://github.com/Sevichecc/Urara-Blog.git
synced 2025-05-08 07:39:14 +08:00
14 lines
289 B
Text
14 lines
289 B
Text
/**
|
|
* @typedef {import('mdast').Text} Text
|
|
* @typedef {import('../types.js').Handle} Handle
|
|
*/
|
|
|
|
import {safe} from '../util/safe.js'
|
|
|
|
/**
|
|
* @type {Handle}
|
|
* @param {Text} node
|
|
*/
|
|
export function text(node, _, context, safeOptions) {
|
|
return safe(context, node.value, safeOptions)
|
|
}
|