Replies: 1 comment 2 replies
-
Unfortunately, what you provided is far from enough for anyone to provide you with any help. Could you share a small self-contained "working" (reproducible) example to work with, i.e., a Git repository with a project on Additionally and if not already given, please share the output of |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description
I have a
However the link in the rendered pdf does not work since it does not point to the website, but to the relative path.
Is there an elegant way to make this work for all cases (
quarto preview
,quarto render
,quarto publish gh-pages
)? It should basically have a relative link in the published and previewed website, but contain the full link to the file on the GitHub server in the published PDF.here's the
_quarto.yml
and inindex.qmd
there is just a link toexample.c
.EDIT:
The book is hosted on GitHub pages - check the linked pdf in the left menu bar. The link in the PDF should go to the website, not a local link.
The source code of this MWE is in this repository
Here's quarto check output
Beta Was this translation helpful? Give feedback.
All reactions