-
DescriptionI had this issue in my main repo, so recreated a MWE as follows: made a new quarto project (I'm using the VSCode extension) and changed
which is to say, I only added the line However, this doesn't seem to get picked up when I render the project? However, this seems to work fine on my website (but not on my local notes repo), so I am left a little puzzled. Sorry if I am missing something obvious 😬 To be honest I don't remember where I picked this up from when I was working on my website: I can't find this directive in the docs any more. Maybe it's not a thing (any more)? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
I never saw include-after-body:
text: |
<script type="application/javascript" src="myscript.js"></script> Note that the If Quarto does not pick up the dependency to your website location, see https://quarto.org/docs/websites/website-tools.html#site-resources. |
Beta Was this translation helpful? Give feedback.
I never saw
js
key in Quarto.Usually, JavaScript are included with for example:
Note that the
include-*
key to use will highly depends on what your JavaScript script does (mainly whyjs
does not seem right at all).If Quarto does not pick up the dependency to your website location, see https://quarto.org/docs/websites/website-tools.html#site-resources.