🎉 initiate project *astro_rewrite*
This commit is contained in:
parent
ffd4d5e86c
commit
2ba37bfbe3
8658 changed files with 2268794 additions and 2538 deletions
44
node_modules/micromark-factory-label/index.d.ts
generated
vendored
Normal file
44
node_modules/micromark-factory-label/index.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
/**
|
||||
* Parse labels.
|
||||
*
|
||||
* > 👉 **Note**: labels in markdown are capped at 999 characters in the string.
|
||||
*
|
||||
* ###### Examples
|
||||
*
|
||||
* ```markdown
|
||||
* [a]
|
||||
* [a
|
||||
* b]
|
||||
* [a\]b]
|
||||
* ```
|
||||
*
|
||||
* @this {TokenizeContext}
|
||||
* Tokenize context.
|
||||
* @param {Effects} effects
|
||||
* Context.
|
||||
* @param {State} ok
|
||||
* State switched to when successful.
|
||||
* @param {State} nok
|
||||
* State switched to when unsuccessful.
|
||||
* @param {TokenType} type
|
||||
* Type of the whole label (`[a]`).
|
||||
* @param {TokenType} markerType
|
||||
* Type for the markers (`[` and `]`).
|
||||
* @param {TokenType} stringType
|
||||
* Type for the identifier (`a`).
|
||||
* @returns {State}
|
||||
* Start state.
|
||||
*/
|
||||
export function factoryLabel(
|
||||
this: import('micromark-util-types').TokenizeContext,
|
||||
effects: Effects,
|
||||
ok: State,
|
||||
nok: State,
|
||||
type: TokenType,
|
||||
markerType: TokenType,
|
||||
stringType: TokenType
|
||||
): State
|
||||
export type Effects = import('micromark-util-types').Effects
|
||||
export type State = import('micromark-util-types').State
|
||||
export type TokenizeContext = import('micromark-util-types').TokenizeContext
|
||||
export type TokenType = import('micromark-util-types').TokenType
|
||||
Loading…
Add table
Add a link
Reference in a new issue