Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Nov 17, 2022. It is now read-only.
This repository was archived by the owner on Nov 17, 2022. It is now read-only.

mdinclude not using correct header names if numbers are used #54

@CorrieBartonVualto

Description

@CorrieBartonVualto

Hi, I've noticed an issue with ids for headers when using .. mdinclude:: file.md if the header contains a number.

For example, within file.md I have the header: #### March 2020. I'd expect the id for this to be march-2020, however, when displaying this file within a .rst using mdinclude, the id becomes id1 if a number is used.

#### March Twenty Twenty has the id march-twenty-twenty like you'd expect, but I'd prefer to use numbers.

Is this a known issue or am I doing something wrong? Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions