Skip to content

Docs renderer doesn't render correctly Markdown numbered lists #145

Closed
@peci1

Description

@peci1

Description

  • Expected behavior:

Markdown allows for numbered lists to by typed like:

1. item 1
1. item 2

Which should be rendered as

1. item 1
2. item 2
  • Actual behavior: It renders all items as 1.

Steps to reproduce

See https://github.com/ignitionrobotics/ign-common/blob/ign-common3/tutorials/hw-encoding.md and the rendered version at https://ignitionrobotics.org/api/common/3.10/hw-encoding.html .

I'm not sure which implementation of Markdown does Ign docs support, but multiple Markdown guides show this syntax as allowed: https://guides.github.com/features/mastering-markdown/, https://www.markdownguide.org/basic-syntax/#lists-1 . Even Github renders this type of lists correctly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationinfrastructureRequires changes on the web server or other infra

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions