mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-23 01:10:13 +01:00
Mostly standardize on putting rule names and tags in code spans in documentation.
This commit is contained in:
parent
13b4340747
commit
52044c8181
53 changed files with 326 additions and 325 deletions
|
|
@ -912,7 +912,7 @@ test("readme", (t) => new Promise((resolve) => {
|
|||
}
|
||||
} else if (inTags) {
|
||||
const parts =
|
||||
token.content.replace(/\*\*/g, "").split(/ - |, |,\n/);
|
||||
token.content.replace(/[`*]/g, "").split(/ - |, |,\n/);
|
||||
const tag = parts.shift();
|
||||
t.deepEqual(parts, tagToRules[tag] || [],
|
||||
"Rule mismatch for tag " + tag + ".");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue