Skip to content

How to turn on heading numbering ? #951

Answered by 72757373656c6c
rtesse asked this question in Q&A
Discussion options

You must be logged in to vote

With this option, I'm 99% sure the answer is "yes".

Manual. Yuck. 😉

Maybe...

I see in Mystmd they have number references and substitution, %s or {number}.

The myst-sphinx documentation says,

Sphinx offers numerous roles for referencing specific objects.

These can also be used within MyST documents, although it is recommended to use the Markdown syntax where possible, which is more portable and native to MyST.

In addition to {ref}, I see that sphinx also has a {numref}. There is more doc at readthedocs for the numref role. There is one reference to numref in the MyST documentation.

Question
The question becomes, will the numref role work in Sphinx+MyST for section/heading numbering?

Addi…

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@rtesse
Comment options

Comment options

You must be logged in to vote
1 reply
@rtesse
Comment options

Comment options

You must be logged in to vote
1 reply
@rtesse
Comment options

Answer selected by rtesse
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants