mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2026-04-25 09:16:02 +03:00
[GH-ISSUE #46] escape backtick violates MD038 #1885
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#1885
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 @unional on GitHub (Feb 12, 2017).
Original GitHub issue: https://github.com/DavidAnson/markdownlint/issues/46
Writing
`is marked as violating MD038no-space-in-code@DavidAnson commented on GitHub (Feb 13, 2017):
Per http://spec.commonmark.org/0.27/#code-spans your example is parsed as:
At this point,
MD038is correct in reporting a violation.However, the spec also says that leading/trailing whitespace is to be removed from the inline - at which point
MD038is wrong to report a violation.I think this is what you're reporting?
@unional commented on GitHub (Feb 13, 2017):
I think so. The use case is to render backtick in the inline code block.
$$E=mc^2$$into multi‑line display math for Typora compatibility #2617