Skip to content
Discussion options

You must be logged in to vote

I believe this is because quarto preview test.qmd will run the preview server from the document root itself.
If you were to publish your document on the web, you would need to publish the ../figures folder too and not only your document. This means the real root of your HTML presentation is projects/ and not presentation/.

So overall, this is behaving as a web server would behave. You need to serve the files and folders in a way all the resources are found.

Did you try already to use a Quarto project (type default) and preview the project itself ? Previewing from the root would probably solve your path issue.

You could also consider your project as a Quarto website, with only a HTML revea…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@collinmccarthy
Comment options

@collinmccarthy
Comment options

Answer selected by collinmccarthy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
revealjs Issues with the revealjs format html Issues with HTML and related web technology (html/css/scss/js)
2 participants