Skip to content

Change list item indent from tab (size) to one #48

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

Closed
4 tasks done
wooorm opened this issue Nov 30, 2021 · 3 comments
Closed
4 tasks done

Change list item indent from tab (size) to one #48

wooorm opened this issue Nov 30, 2021 · 3 comments
Labels
💪 phase/solved Post is done

Comments

@wooorm
Copy link
Member

wooorm commented Nov 30, 2021

Initial checklist

Problem

While one is used more by authors, historically there have been problems when using it across parsers, hence why the default is tab.

Solution

To illustrate, one:

1. asd
10. asdasd
100. asdasdasd

* asd
* asdasd
* asdasdasd

tab:

1.  asd
10. asdasd
100.    asdasdasd

*   asd
*   asdasd
*   asdasdasd

Note that tab is more consistent. Especially around the 1st and 10th mark of incrementally numbered items. And the 100th, 1kth, 10kth items. Whereas one will always be staggered. It’s probably most common to have lists between 1-99 items, hence I deem that most important.
This is mostly noticeable when trying to indent further lines: they have to match the items “bullet” \d+[\.)]\ {1,4}.

Still, one seems to be used more? So probably good to switch the default output format to that?

Alternatives

stay as is

@github-actions github-actions bot added 👋 phase/new Post is being triaged automatically 🤞 phase/open Post is being triaged manually and removed 👋 phase/new Post is being triaged automatically labels Nov 30, 2021
@Murderlon
Copy link
Member

From how I've seen people write markdown, I've almost never seen them use tab, and I personally always set it to one too. That's of course a small sample size but my two cents is that this change makes sense.

@wooorm
Copy link
Member Author

wooorm commented Dec 1, 2021

yeah, same!

@github-actions

This comment has been minimized.

@wooorm wooorm added the 💪 phase/solved Post is done label Jul 10, 2023
@github-actions github-actions bot removed the 🤞 phase/open Post is being triaged manually label Jul 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💪 phase/solved Post is done
Development

No branches or pull requests

2 participants