🎉 initiate project *astro_rewrite*
This commit is contained in:
parent
ffd4d5e86c
commit
2ba37bfbe3
8658 changed files with 2268794 additions and 2538 deletions
12
node_modules/mdast-util-phrasing/lib/index.d.ts
generated
vendored
Normal file
12
node_modules/mdast-util-phrasing/lib/index.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
/**
|
||||
* Check if the given value is *phrasing content*.
|
||||
*
|
||||
* @param
|
||||
* Thing to check, typically `Node`.
|
||||
* @returns
|
||||
* Whether `node` is phrasing content.
|
||||
*/
|
||||
export const phrasing: AssertPredicatePhrasing
|
||||
export type PhrasingContent = import('mdast').PhrasingContent
|
||||
export type AssertPredicatePhrasing =
|
||||
import('unist-util-is').AssertPredicate<PhrasingContent>
|
||||
31
node_modules/mdast-util-phrasing/lib/index.js
generated
vendored
Normal file
31
node_modules/mdast-util-phrasing/lib/index.js
generated
vendored
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
/**
|
||||
* @typedef {import('mdast').PhrasingContent} PhrasingContent
|
||||
* @typedef {import('unist-util-is').AssertPredicate<PhrasingContent>} AssertPredicatePhrasing
|
||||
*/
|
||||
|
||||
import {convert} from 'unist-util-is'
|
||||
|
||||
/**
|
||||
* Check if the given value is *phrasing content*.
|
||||
*
|
||||
* @param
|
||||
* Thing to check, typically `Node`.
|
||||
* @returns
|
||||
* Whether `value` is phrasing content.
|
||||
*/
|
||||
export const phrasing = /** @type {AssertPredicatePhrasing} */ (
|
||||
convert([
|
||||
'break',
|
||||
'delete',
|
||||
'emphasis',
|
||||
'footnote',
|
||||
'footnoteReference',
|
||||
'image',
|
||||
'imageReference',
|
||||
'inlineCode',
|
||||
'link',
|
||||
'linkReference',
|
||||
'strong',
|
||||
'text'
|
||||
])
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue