mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2026-04-25 09:16:02 +03:00
[GH-ISSUE #31] Ignore indenting within code blocks #22
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#22
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 @adriangrigore on GitHub (Sep 24, 2016).
Original GitHub issue: https://github.com/DavidAnson/markdownlint/issues/31
I write code with tabs and when I copy paste the code inside my markdown files,
markdownlintcomplains about hard tabs. Wouldn't be a good idea to not enforce the indenting rule within code block s to allow any kind of indent?@DavidAnson commented on GitHub (Sep 24, 2016):
It sounds like you would appreciate a code_blocks parameter similar to MD013. Should be straightforward to add. My only concern would be if parsers aren't consistent about handling tabs when converting to HTML. Maybe you already know that your workflow handles this okay?