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

Remove extra whitespace in nested lists #702

Closed
4 tasks done
joshjohanning opened this issue Oct 4, 2022 · 0 comments · Fixed by #703
Closed
4 tasks done

Remove extra whitespace in nested lists #702

joshjohanning opened this issue Oct 4, 2022 · 0 comments · Fixed by #703
Labels
enhancement New feature or request

Comments

@joshjohanning
Copy link
Collaborator

Checklist

Is your feature request related to a problem? Please describe

When creating nested lists, there is unnecessary spacing

image

Markdown:

- Coffee
- Tea
    * Black tea
    * Green tea
- Milk

This also affects nested lists under numbered lists:

image

1. Coffee
2. Tea
    * Black tea
    * Green tea
3. Milk

Describe the solution you'd like

It should be more snug like it appears in GitHub - like so:

  • Coffee
  • Tea
    • Black tea
    • Green tea
  • Milk

Describe alternatives you've considered

Using HTML produces same output as markdown:

<ul>
  <li>Coffee</li>
  <li>Tea
    <ul>
      <li>Black tea</li>
      <li>Green tea</li>
    </ul>
  </li>
  <li>Milk</li>
</ul>

Additional context

@joshjohanning joshjohanning added the enhancement New feature or request label Oct 4, 2022
@joshjohanning joshjohanning changed the title Remove unnecessary whitespace in nested lists Remove extra whitespace in nested lists Oct 4, 2022
cotes2020 pushed a commit to joshjohanning/jekyll-theme-chirpy that referenced this issue Oct 5, 2022
cotes2020 pushed a commit that referenced this issue Oct 5, 2022
linkliu pushed a commit to linkliu/game-tech-post-old that referenced this issue Oct 15, 2022
linkliu pushed a commit to linkliu/game-tech-post-old that referenced this issue Oct 25, 2022
shihtiy-tw pushed a commit to shihtiy-tw/shihtiy-tw.github.io that referenced this issue Nov 26, 2022
sanjidnet pushed a commit to sanjidnet/sanjidnet.github.io that referenced this issue Jan 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant