CoolFace
Apppublic

AK-21/Graphite-Industrial-Intelligence

sourceHugging Faceupdated 3mo agoView on Hugging Face
0likes
1/**2 * Parse labels.3 *4 * > ๐Ÿ‘‰ **Note**: labels in markdown are capped at 999 characters in the string.5 *6 * ###### Examples7 *8 * ```markdown9 * [a]10 * [a11 * b]12 * [a\]b]13 * ```14 *15 * @this {TokenizeContext}16 *   Tokenize context.17 * @param {Effects} effects18 *   Context.19 * @param {State} ok20 *   State switched to when successful.21 * @param {State} nok22 *   State switched to when unsuccessful.23 * @param {TokenType} type24 *   Type of the whole label (`[a]`).25 * @param {TokenType} markerType26 *   Type for the markers (`[` and `]`).27 * @param {TokenType} stringType28 *   Type for the identifier (`a`).29 * @returns {State}30 *   Start state.31 */32export function factoryLabel(this: TokenizeContext, effects: Effects, ok: State, nok: State, type: TokenType, markerType: TokenType, stringType: TokenType): State;33import type { Effects } from 'micromark-util-types';34import type { State } from 'micromark-util-types';35import type { TokenType } from 'micromark-util-types';36import type { TokenizeContext } from 'micromark-util-types';37//# sourceMappingURL=index.d.ts.map