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

Inline code breaks spacing in lists #923

Closed
1 task done
kevinzunigacuellar opened this issue Oct 17, 2023 · 0 comments · Fixed by #924
Closed
1 task done

Inline code breaks spacing in lists #923

kevinzunigacuellar opened this issue Oct 17, 2023 · 0 comments · Fixed by #924

Comments

@kevinzunigacuellar
Copy link
Member

What version of starlight are you using?

0.11.1

What version of astro are you using?

3.2.3

What package manager are you using?

pnpm

What operating system are you using?

Mac

What browser are you using?

Chrome

Describe the Bug

Having inline code in a list creates and extra margin for nested lists.

Input

1. Some `code`
   1. some text
   2. some text
2. Some code
   1. some text
   2. some text

Output

image

Note: More tests in Stackblitz demo

Link to Minimal Reproducible Example

https://stackblitz.com/edit/github-fqbxg4?file=src%2Fcontent%2Fdocs%2Fguides%2Fexample.md

Participation

  • I am willing to submit a pull request for this issue.
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 a pull request may close this issue.

1 participant