Numbered lists with sub-bullets aren't sequentially numbered

Resolved 💬 5 comments Opened Dec 20, 2025 by btraut Closed Feb 6, 2026
💡 Likely answer: A maintainer (etraut-openai, contributor) responded on this thread — see the highlighted reply below.

What version of Codex is running?

codex-cli 0.63.0

What subscription do you have?

Pro

Which model were you using?

_No response_

What platform is your computer?

Darwin 24.5.0 arm64 arm

What issue are you seeing?

I often see Codex output lists of information. It seems the parser (markdown, perhaps?) resets the numbering of the bulleted list when there's sub-items.

Notice all the 1. …:

<img width="240" height="1578" alt="Image" src="https://github.com/user-attachments/assets/09f265d6-9566-468b-8606-d1d70bd13e1f" />

What steps can reproduce the bug?

🤷‍♂️

You'll have to find some prompt that results in this output format.

What is the expected behavior?

  1. sequential
  • sub 1
  • sub 2
  1. numbering
  2. works

Additional information

_No response_

View original on GitHub ↗

5 Comments

btraut · 8 months ago

Session ID: 019b3980-5051-7353-85b1-dbb71891b97d

etraut-openai contributor · 8 months ago

You mentioned that you're running the CLI, but the screen shot looks like it's from the extension.

Thanks for uploading the session information. I confirmed that this isn't a model behavior issue. The model is generating correct output. It appears that this is a client-side markdown parsing or rendering issue.

btraut · 8 months ago

Sorry, yeah, this is from the extension.

etraut-openai contributor · 7 months ago

This will be fixed in the next release.

btraut · 6 months ago

I haven't seen this in a while. Should we close?