-
Notifications
You must be signed in to change notification settings - Fork 328
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Track resources inside styles #7470
Comments
Just for context so that we don't forgot: resources:
- images/image.jpg |
I think this is also related to #6828 not adding registered assets to |
I get these warnings, and it does not work...
|
@produnis please provide a reproducible example and not just error/warning messages with "it's not working". There is not much we can do with these. Thank you for your understanding and help. |
@produnis it would be nice to open a new issue too, as it is possibly another bug (related) as you provided This issue is about supporting auto-detection of some resources. Related but not the same, and it is best practice to keep issue thread scoped. Thank you |
I uploaded a minimal example to here: See "Folientest.qmd" as the example... I would like to create a stand-alone-html that I could share with students. The main font should be "Vollkorn" and the Monofont should be Roboto Mono. |
What is that link? Could you share a Git repository, for example on GitHub? |
@produnis thanks for sharing an MWE. I think you're getting bitten by a different bug related to how assets are placed relative to access requests in SCSS. c.f. #5712 and #5694. The "fix" here is to use a relative path to the asset. You can see the tweak I made here: coatless-quarto/illinois-revealjs@c2eae8c The SCSS url designation needs to navigate to the |
Thx for your answers, I created a github repo here: I tried to set relative paths, but it does not work... |
Ha, @coatless , thx for the hint with relatives paths. Inserting five ../ did the job. Now it is working! |
@produnis setup the https://github.com/coatless-quarto/hsnr-revealjs https://quarto.thecoatlessprofessor.com/hsnr-revealjs/ Outside of the relative paths, the RevealJS theme is now a quarto extension that avoids typing out a lot of the same details again and again. You can see how the theme was made by looking at the commit steps in the PR: https://github.com/coatless-quarto/hsnr-revealjs/pull/1/commits Note: This omits a terminal command of If you have more questions about the extension, let's take it over to the issue tracker in that repository. |
wow, thx @coatless , this helps me a lot understanding "theme as an extension"! |
This should work without requiring users to add
images/image.jpg
toresources
:The text was updated successfully, but these errors were encountered: