Github pages and unnumbered crossrefs #2788
Unanswered
lauren-obrien
asked this question in
Q&A
Replies: 1 comment
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Just want to run something past the team - I've been adapting an existing print book to Quarto (using R), with the goal of making it easier to interact with but very similar in layout and appearance to the source material. Results are here -https://lauren-obrien.github.io/nzsc_v3/
The book has a) no chapter numbering and b) a huge amount of between-chapter cross references that require alt-text. In order to get these to render properly on Github pages, I've found myself using the following hack:
(destination text)[chapter-x.qmd#sec-tag)
I'm aware that this is a filthy hack, but the results look good. However, because it is a filthy hack, I'm not sure how stable it is long term, or under varying circumstances, e.g. my book has very little executable code in it, no extensions etc.
Should I be doing something else?
Beta Was this translation helpful? Give feedback.
All reactions