Is it possible to load the theme
file from a URL?
#9227
-
DescriptionWe're building a library of format:
revealjs:
theme: https://presentations.ontotext.com/resources/ontotext.scss It interprets it as a local file (I am on Windows):
I also tried with format:
revealjs:
resource-path: [https://presentations.ontotext.com/resources/]
theme: ontotext.scss but it still doesn't work:
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
No it is not possible to use a url for the Currently, you would need a project script in your project to download such resources. Other solution: you bundle you them file into an extension that you would be able to distribute over the web, and manage locally in your project with The extension mechanism is how Quarto some shared resources should be packaged and used over multiple project. Hope this helps |
Beta Was this translation helpful? Give feedback.
-
FYI: |
Beta Was this translation helpful? Give feedback.
No it is not possible to use a url for the
theme
file.Currently, you would need a project script in your project to download such resources.
See more about that in https://quarto.org/docs/projects/scripts.html, especially pre-render step.
Other solution: you bundle you them file into an extension that you would be able to distribute over the web, and manage locally in your project with
quarto add
andquarto update
See more on how to create custom format: https://quarto.org/docs/extensions/formats.html
and distribute them https://quarto.org/docs/extensions/distributing.html
The extension mechanism is how Quarto some shared resources should be packaged and used over multiple project.
Hope …