mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-16 22:10:13 +01:00
Update MD025/single-title and MD051/link-fragments to ignore headings that exactly match Docfx tab syntax (fixes #1099) (fixes #1101).
This commit is contained in:
parent
a4b7ffa8ce
commit
6adfaf68b5
6 changed files with 115 additions and 4 deletions
|
|
@ -11348,6 +11348,54 @@ Generated by [AVA](https://avajs.dev).
|
|||
`,
|
||||
}
|
||||
|
||||
## docfx-tab-syntax.md
|
||||
|
||||
> Snapshot 1
|
||||
|
||||
{
|
||||
errors: [],
|
||||
fixed: `# Docfx Tab Syntax␊
|
||||
␊
|
||||
Examples copied from: <https://dotnet.github.io/docfx/docs/markdown.html?tabs=linux%2Cdotnet#tabs>␊
|
||||
␊
|
||||
---␊
|
||||
␊
|
||||
# [Tab Display Name](#tab/tab-id)␊
|
||||
␊
|
||||
---␊
|
||||
␊
|
||||
# [Linux](#tab/linux)␊
|
||||
␊
|
||||
Content for Linux...␊
|
||||
␊
|
||||
# [Windows](#tab/windows)␊
|
||||
␊
|
||||
Content for Windows...␊
|
||||
␊
|
||||
---␊
|
||||
␊
|
||||
# [.NET](#tab/dotnet/linux)␊
|
||||
␊
|
||||
.NET content for Linux...␊
|
||||
␊
|
||||
# [.NET](#tab/dotnet/windows)␊
|
||||
␊
|
||||
.NET content for Windows...␊
|
||||
␊
|
||||
# [TypeScript](#tab/typescript/linux)␊
|
||||
␊
|
||||
TypeScript content for Linux...␊
|
||||
␊
|
||||
# [TypeScript](#tab/typescript/windows)␊
|
||||
␊
|
||||
TypeScript content for Windows...␊
|
||||
␊
|
||||
# [REST API](#tab/rest)␊
|
||||
␊
|
||||
REST API content, independent of platform...␊
|
||||
`,
|
||||
}
|
||||
|
||||
## emoji-headings.md
|
||||
|
||||
> Snapshot 1
|
||||
|
|
|
|||
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue