mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-16 22:10:13 +01:00
Update MD011/no-reversed-links to ignore content of math blocks and spans (fixes #1864).
Some checks are pending
Checkers / linkcheck (push) Waiting to run
Checkers / spellcheck (push) Waiting to run
CI / build (20, macos-latest) (push) Waiting to run
CI / build (20, ubuntu-latest) (push) Waiting to run
CI / build (20, windows-latest) (push) Waiting to run
CI / build (22, macos-latest) (push) Waiting to run
CI / build (22, ubuntu-latest) (push) Waiting to run
CI / build (22, windows-latest) (push) Waiting to run
CI / build (24, macos-latest) (push) Waiting to run
CI / build (24, ubuntu-latest) (push) Waiting to run
CI / build (24, windows-latest) (push) Waiting to run
CI / pnpm (push) Waiting to run
CodeQL / Analyze (push) Waiting to run
TestRepos / build (latest, ubuntu-latest) (push) Waiting to run
UpdateTestRepos / update (push) Waiting to run
Some checks are pending
Checkers / linkcheck (push) Waiting to run
Checkers / spellcheck (push) Waiting to run
CI / build (20, macos-latest) (push) Waiting to run
CI / build (20, ubuntu-latest) (push) Waiting to run
CI / build (20, windows-latest) (push) Waiting to run
CI / build (22, macos-latest) (push) Waiting to run
CI / build (22, ubuntu-latest) (push) Waiting to run
CI / build (22, windows-latest) (push) Waiting to run
CI / build (24, macos-latest) (push) Waiting to run
CI / build (24, ubuntu-latest) (push) Waiting to run
CI / build (24, windows-latest) (push) Waiting to run
CI / pnpm (push) Waiting to run
CodeQL / Analyze (push) Waiting to run
TestRepos / build (latest, ubuntu-latest) (push) Waiting to run
UpdateTestRepos / update (push) Waiting to run
This commit is contained in:
parent
e88a71e7c8
commit
7668b0a263
5 changed files with 69 additions and 7 deletions
|
|
@ -1101,7 +1101,7 @@ test("readme", async(t) => {
|
|||
});
|
||||
|
||||
test("validateJsonUsingConfigSchemaStrict", async(t) => {
|
||||
t.plan(218);
|
||||
t.plan(219);
|
||||
// @ts-ignore
|
||||
const ajv = new Ajv(ajvOptions);
|
||||
const validateSchemaStrict = ajv.compile(configSchemaStrict);
|
||||
|
|
|
|||
|
|
@ -75717,6 +75717,36 @@ Generated by [AVA](https://avajs.dev).
|
|||
$$␊
|
||||
x * y = x * y␊
|
||||
$$␊
|
||||
␊
|
||||
## Content␊
|
||||
␊
|
||||
$$␊
|
||||
␊
|
||||
Text (reversed)[link] text␊
|
||||
␊
|
||||
Text [invalid](#link) text␊
|
||||
␊
|
||||
Text [link](not-descriptive-link-text) text␊
|
||||
␊
|
||||
Text javascript text␊
|
||||
␊
|
||||
$$␊
|
||||
␊
|
||||
Text $ (reversed)[link] $ text␊
|
||||
␊
|
||||
Text $ [invalid](#link) $ text␊
|
||||
␊
|
||||
Text $ [link](not-descriptive-link-text) $ text␊
|
||||
␊
|
||||
Text $ javascript $ text␊
|
||||
␊
|
||||
<!-- markdownlint-configure-file {␊
|
||||
"proper-names": {␊
|
||||
"names": [␊
|
||||
"JavaScript"␊
|
||||
]␊
|
||||
}␊
|
||||
} -->␊
|
||||
`,
|
||||
}
|
||||
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -17,3 +17,33 @@ text
|
|||
$$
|
||||
x * y = x * y
|
||||
$$
|
||||
|
||||
## Content
|
||||
|
||||
$$
|
||||
|
||||
Text (reversed)[link] text
|
||||
|
||||
Text [invalid](#link) text
|
||||
|
||||
Text [link](not-descriptive-link-text) text
|
||||
|
||||
Text javascript text
|
||||
|
||||
$$
|
||||
|
||||
Text $ (reversed)[link] $ text
|
||||
|
||||
Text $ [invalid](#link) $ text
|
||||
|
||||
Text $ [link](not-descriptive-link-text) $ text
|
||||
|
||||
Text $ javascript $ text
|
||||
|
||||
<!-- markdownlint-configure-file {
|
||||
"proper-names": {
|
||||
"names": [
|
||||
"JavaScript"
|
||||
]
|
||||
}
|
||||
} -->
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue