mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2026-04-25 17:26:22 +03:00
[GH-ISSUE #1953] MD056 incorrectly handles the escaped | char #787
Labels
No labels
bug
enhancement
enhancement
enhancement
fixed in next
fixed in next
fixed in next
new rule
new rule
new rule
pull-request
question
refactoring
refactoring
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/markdownlint#787
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @evilguest on GitHub (Feb 11, 2026).
Original GitHub issue: https://github.com/DavidAnson/markdownlint/issues/1953
Hello, I've run into a relatively small issue that is still bothering my OCD.
Consider the following markdown:
The intent here is to render a TS union type within a table cell.
Both the VS Code preview renderer and the Github renderer handle this code as intended:
Record<peerId, GossipView | null>The content of the `Record<peerId, GossipView | null>` is displayed within the cell as is, with no issues.
However, the markdownling reports this as a violation of MD056. Looks like it ignores the escaping and breaks the line into three columns:
@evilguest commented on GitHub (Feb 11, 2026):
Hmm. Relaunched everything and can no longer reproduce it :)