Skip to content

Conversation

giuscris
Copy link

@giuscris giuscris commented Oct 1, 2025

This PR updates a check on firstLevelStartNumber inside numbering.ts to allow lists start with a 0 (zero) item if explicitly provided. Otherwise the logic is unchanged.

Before this PR even if you wanted a 0 item by explicitly setting 0 to the start property, it would become 1 as the first part of the conditional was evaluated as false.

I've checked and all tests pass, so I think the impact is minimal.

@giuscris giuscris marked this pull request as draft October 1, 2025 12:33
@giuscris giuscris marked this pull request as ready for review October 1, 2025 12:55
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 this pull request may close these issues.

1 participant