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

option to configure tab length #126

Open
DetachHead opened this issue Sep 30, 2024 · 0 comments
Open

option to configure tab length #126

DetachHead opened this issue Sep 30, 2024 · 0 comments

Comments

@DetachHead
Copy link

the tab length seems to be 2, which causes the following list:

- foo
    - bar
    - baz

to be formatted like so:

- foo
  - bar
  - baz

this causes the nested list to be rendered incorrectly on mkdocs (see mkdocs/mkdocs#545):

  • foo
  • bar
  • baz

this is apparently intentional behavior because the spec states that tab length should be 4, and that every implementation of markdown that allows 2 is deviating from the spec. see Python-Markdown/markdown#3 (comment)

i don't really have an opinion on which is correct, but an option to configure it would be nice

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

No branches or pull requests

1 participant