Skip to content

Linking to headers in different notebooks #337

Answered by chrisjsewell
DKilkenny asked this question in Q&A
Discussion options

You must be logged in to vote

Heya, so you can either create a "target" for that header, e.g.

(my-reference)=
# Header One

[text](my-reference)

these reference are "project wide" (you will get a warning if any duplicates are found)

or use this "more advanced" sphinx configuration (I guess this is not documented in the jupyter-book documentation yet): https://myst-parser.readthedocs.io/en/latest/using/syntax-optional.html#auto-generated-header-anchors

Replies: 1 comment 1 reply

Comment options

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

Answer selected by DKilkenny
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