mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2026-04-26 01:36:03 +03:00
[GH-ISSUE #386] MD038 shouldn't trigger when string starts OR ends with a backtick #324
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#324
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 @Jackenmen on GitHub (Apr 17, 2021).
Original GitHub issue: https://github.com/DavidAnson/markdownlint/issues/386
Here's an example where this would be useful:
Right now it triggers MD038 error, but it's the only way to write "Ctrl+`" without a trailing space ending up the inline code.
@DavidAnson commented on GitHub (Apr 18, 2021):
This pattern explicitly should not trigger MD038 as described in the documentation: https://github.com/DavidAnson/markdownlint/blob/main/doc/Rules.md#md038
Here is an example of that text not reporting an issue: https://dlaa.me/markdownlint/#%25m%23%20Issue%20386%0A%0AText%20%60%60%20Ctrl%2B%60%20%60%60%20text.%0A
@Jackenmen commented on GitHub (Apr 18, 2021):
Yeah... That's a bit embarrassing, I forgot to update before reporting. Sorry!