Skip to content
Discussion options

You must be logged in to vote

@MayaGans Which Quarto version are you using ? Are you working in a project ?

Is there a way to require assets in the YAML of the file maybe to force having those assets show up?

Website projects have a way to specify some resource that may not be found automatically by Quarto using the resources: key (https://quarto.org/docs/websites/website-tools.html#site-resources). I believe we probably are not looking into some CSS specified on a div to know which resource to include.

So try add in your YAML

resources: 
  - inst/img/*

My use case will be mapping over a bunch of images in a directory so I'd like to avoid calling each one manually in the document if I can

If you are using knitr co…

Replies: 4 comments 3 replies

Comment options

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

Comment options

You must be logged in to vote
0 replies
Comment options

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

Comment options

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

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