-
-
Notifications
You must be signed in to change notification settings - Fork 743
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rule for indentation in fenced code blocks #312
Comments
Can you please clarify the part about “prevents adopting markdownlint”? You can allow tabs in code blocks. |
While the markdown documents have tabbed indentation for code snippets, contributions are reviewed to ensure that happens. |
Yes, in the context of the feature you are requesting, tabs would not be required in code blocks. But that should not prevent you from using markdownlint - it’s more of a missing validation than a wrong or problematic one. |
I understand that, but if it cannot help with that issue, the maintainers might not find it acceptable. There's a linked issue where I've pitched |
Understood. FYI, this could be implemented as a custom rule by a motivated party - no need to wait for me. :) |
Ideally this could be configured based on language/context given to the code block syntax (```
language
). Docs that I contribute that require tabs for their config snippets prevents adopting markdownlint otherwise.Related: #17 #82
The text was updated successfully, but these errors were encountered: