mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2026-04-25 09:16:02 +03:00
[GH-ISSUE #130] MD038 disallows line breaks for inline code snippets #110
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#110
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 @raxod502 on GitHub (Jul 6, 2018).
Original GitHub issue: https://github.com/DavidAnson/markdownlint/issues/130
I commonly have text like this, as a result of hard line wrapping:
But it is disallowed by MD038; why? Is there something else I should be doing instead?
@DavidAnson commented on GitHub (Jul 6, 2018):
This seems like a bug in my code, sorry!
https://spec.commonmark.org/0.28/#code-spans
@DavidAnson commented on GitHub (Jul 7, 2018):
Could you please try your example here: https://dlaa.me/markdownlint/
What you have above does not trigger MD038 for me. Might there be something else to this?
@raxod502 commented on GitHub (Jul 7, 2018):
Sorry, I really should have made sure this was reproducible as a standalone example before opening this. It appears that a third line is necessary:
@DavidAnson commented on GitHub (Jul 7, 2018):
No worries! It’s probably the odd count of ticks that’s confusing things. I’ll fix this soon, sorry again.