Skip to content

Conversation

noraj
Copy link
Contributor

@noraj noraj commented Mar 4, 2021

Keep indent size for markdown too

Keep indent size for markdown too
@postmodern
Copy link
Owner

Did you test this? Googling around it says the default indent_size for markdown is 4; not sure if that's only for indented code-blocks where each line has to be indented by 4 spaces, or everything else.

@noraj
Copy link
Contributor Author

noraj commented Mar 6, 2021

Did you test this? Googling around it says the default indent_size for markdown is 4; not sure if that's only for indented code-blocks where each line has to be indented by 4 spaces, or everything else.

The intolerant old original parser requires 4 spaces for list level 2+ but nobody use it anywhere anywhere except some rare exceptions. And any space size can be used in code blocks anyway. Nowadays any piece of code is either using commonmark (spec) or GitHub Flavored Markdown and both are ok with any ident size.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants