How do I add image-placeholder to my .ipynb rendered in qmd? #8663
-
DescriptionHow do I add image-placeholder to my .ipynb rendered in qmd? I am rendering several notebooks as listing in my quarto markdown. However, I want to set an image-placeholder to be displayed in the placard. How can I set the title and image as I do in normal and files but for these listings? Currently, I have the following yaml in my qmd that load the first available image in the document and the title of the document itself:
However, I even tried to include the title and image as down below but in this case, though it works to certain extent to display it is not directed to a different page but loads the same page again:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Add the
|
Beta Was this translation helpful? Give feedback.
image-placeholder
is for when noimage
are provided.Auto-detection does not set
image
and is not triggered ifimage-placeholder
is set since this setimage
when not provided.You can (and need in your case) to set
image
inside the notebooks as metadata.