mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-17 06:20:12 +01:00
Update MD054/link-image-style to split reference parameter into full/collapsed/shortcut parameters (fixes #918).
This commit is contained in:
parent
4390715f4b
commit
063310e51a
21 changed files with 2583 additions and 80 deletions
24
lib/configuration.d.ts
vendored
24
lib/configuration.d.ts
vendored
|
|
@ -1009,9 +1009,17 @@ export interface Configuration {
|
|||
*/
|
||||
inline?: boolean;
|
||||
/**
|
||||
* Allow reference links and images
|
||||
* Allow full reference links and images
|
||||
*/
|
||||
reference?: boolean;
|
||||
full?: boolean;
|
||||
/**
|
||||
* Allow collapsed reference links and images
|
||||
*/
|
||||
collapsed?: boolean;
|
||||
/**
|
||||
* Allow shortcut reference links and images
|
||||
*/
|
||||
shortcut?: boolean;
|
||||
};
|
||||
/**
|
||||
* MD054/link-image-style : Link and image style : https://github.com/DavidAnson/markdownlint/blob/v0.31.1/doc/md054.md
|
||||
|
|
@ -1028,9 +1036,17 @@ export interface Configuration {
|
|||
*/
|
||||
inline?: boolean;
|
||||
/**
|
||||
* Allow reference links and images
|
||||
* Allow full reference links and images
|
||||
*/
|
||||
reference?: boolean;
|
||||
full?: boolean;
|
||||
/**
|
||||
* Allow collapsed reference links and images
|
||||
*/
|
||||
collapsed?: boolean;
|
||||
/**
|
||||
* Allow shortcut reference links and images
|
||||
*/
|
||||
shortcut?: boolean;
|
||||
};
|
||||
/**
|
||||
* headings : MD001, MD003, MD018, MD019, MD020, MD021, MD022, MD023, MD024, MD025, MD026, MD036, MD041, MD043
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue