Unexpected line height when using inline code formatting and indented bulleted lists
- Dominant language
- Jupyter Notebook
- Stars
- 13.3k
- Forks
- 5.8k
- Avg merge
- 6d 11h
- Merged PRs (30d)
- 7
Description
I'm seeing some strange behavior when attempting to render inline code (like `this`) in an indented bulleted list. Essentially, I'm getting some extra space between two bullets when (1) bullet *n* has inline code and (2) when bullet *n+1* is indented from bullet *n*.
**Input**:

**Rendered**:

I don't see this when:
- bullet *n* has inline code but bullet *n+1* is not indented;
- **Input**:
- 
- **Rendered**:
- 
- bullet *n* has no inline code but bullet *n+1* is indented; or
- **Input**:
- 
- **Rendered**:
- 
- bullet *n* has no inline code and bullet *n+1* not indented.
- **Input**:
- 
- **Rendered**:
- 
Any recommendations on how to handle this would be greatly appreciated!
**Update**: I'm seeing this behavior in lists with a range of other formatting to bullet *n* when bullet *n+1* is indented (e.g., adding links, italicized font).
Contributor guide
Research direction
No source file or test is named. Reproduce the four list cases in a Jupyter Notebook Markdown cell, comparing inline formatting with indented and non-indented bullets; done means the extra vertical space is absent and the affected formatting combinations render consistently.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- jupyter-notebook
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100