Skip to content
Discussion options

You must be logged in to vote

I never saw js key in Quarto.
Usually, JavaScript are included with for example:

include-after-body:
  text: |
    <script type="application/javascript" src="myscript.js"></script>

Note that the include-* key to use will highly depends on what your JavaScript script does (mainly why js 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.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@neeldhara
Comment options

@mcanouil
Comment options

@neeldhara
Comment options

Answer selected by neeldhara
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
websites Issues creating websites
2 participants