mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-17 06:20:12 +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
39
test/docfx-tab-syntax.md
Normal file
39
test/docfx-tab-syntax.md
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
# 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...
|
||||
Loading…
Add table
Add a link
Reference in a new issue