🎉 initiate project *astro_rewrite*
This commit is contained in:
parent
ffd4d5e86c
commit
2ba37bfbe3
8658 changed files with 2268794 additions and 2538 deletions
17
node_modules/mdast-util-to-markdown/lib/handle/text.js
generated
vendored
Normal file
17
node_modules/mdast-util-to-markdown/lib/handle/text.js
generated
vendored
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
/**
|
||||
* @typedef {import('mdast').Text} Text
|
||||
* @typedef {import('../types.js').Parent} Parent
|
||||
* @typedef {import('../types.js').State} State
|
||||
* @typedef {import('../types.js').Info} Info
|
||||
*/
|
||||
|
||||
/**
|
||||
* @param {Text} node
|
||||
* @param {Parent | undefined} _
|
||||
* @param {State} state
|
||||
* @param {Info} info
|
||||
* @returns {string}
|
||||
*/
|
||||
export function text(node, _, state, info) {
|
||||
return state.safe(node.value, info)
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue