Skip to content
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

UTF8 + Keep indent size for markdown too #58

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

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.

None yet

2 participants