mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2026-01-21 14:36:11 +01:00
Update markdownlint-micromark to version 0.1.12 (exports labelEnd, additional types, and adds custom TokenTypes).
This commit is contained in:
parent
fea5d886b7
commit
36aaebbf44
4 changed files with 22 additions and 5 deletions
|
|
@ -333,7 +333,7 @@ declare type CompileOptions_2 = CompileOptions
|
|||
/**
|
||||
* An object describing how to parse a markdown construct.
|
||||
*/
|
||||
declare type Construct = {
|
||||
export declare type Construct = {
|
||||
/**
|
||||
* Set up a state machine to handle character codes streaming in.
|
||||
*/
|
||||
|
|
@ -1200,7 +1200,7 @@ context: TokenizeContext
|
|||
* @returns
|
||||
* Next state.
|
||||
*/
|
||||
declare type State = (code: Code) => State | undefined
|
||||
export declare type State = (code: Code) => State | undefined
|
||||
|
||||
/**
|
||||
* A token: a span of chunks.
|
||||
|
|
@ -1490,7 +1490,7 @@ declare interface TokenizeContext {
|
|||
* @returns
|
||||
* First state.
|
||||
*/
|
||||
declare type Tokenizer = (
|
||||
export declare type Tokenizer = (
|
||||
this: TokenizeContext,
|
||||
effects: Effects,
|
||||
ok: State,
|
||||
|
|
@ -1747,3 +1747,12 @@ export declare interface TokenTypeMap {
|
|||
mathTextPadding: 'mathTextPadding'
|
||||
mathTextSequence: 'mathTextSequence'
|
||||
}
|
||||
|
||||
// Source: Custom types generated by markdownlint in getEvents
|
||||
|
||||
export declare interface TokenTypeMap {
|
||||
undefinedReference: 'undefinedReference'
|
||||
undefinedReferenceCollapsed: 'undefinedReferenceCollapsed'
|
||||
undefinedReferenceFull: 'undefinedReferenceFull'
|
||||
undefinedReferenceShortcut: 'undefinedReferenceShortcut'
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue