-
Notifications
You must be signed in to change notification settings - Fork 331
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
background-image
not embedded when embed-resource: true
#980
Comments
Note that this is issue in Pandoc. It should work as-expected in Quarto once the issue is resolved there: jgm/pandoc#5124 |
Are you expecting this 4-years old issue to be resolved in a near future? |
background-image
not embedded when self-contained: true
background-image
not embedded when embed-resource: true
@dragonstyle we are doing our own embedding now instead of relying on Pandoc, right ? I wonder if we could leverage that to solve this. 🤔 |
Pandoc is still ultimately handling the ingestion of embedded resources here: |
FYI, jgm/pandoc#5124 (comment):
|
There is temporary solution to the background file not being embedded. First, switch of embedding by setting embed-resources: false and self-contained: false in YAML. |
Don't use |
it appears that the
background-image
is never embedded in thehtml
file for some reason.If the background image is set with
{background-image="assets/background.jpg"}
, it is embedded.The following setup in the yaml, will result in slides without background.
While, it's working fine when the generated
html
is at the same level as theqmd
file it comes from.The image path is not replaced by a the
base64
version of the image.From the HTML file generated:
Example: https://github.com/mcanouil/quarto-issues/tree/main/quarto-cli%23980
Version:
0.9.449
Originally from: #951
The text was updated successfully, but these errors were encountered: