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

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

Open
CorrieBartonVualto opened this issue Apr 1, 2020 · 0 comments
Open

Comments

@CorrieBartonVualto
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant