-
I'm trying to adapt a lightGallery example in quarto, but it's failing because the following code
wraps the images in an extra
Is there a way to avoid this extra |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
Any thoughts on how to prevent this extra As a workaround I'm generating the html directly, but it makes the source file quite messy to read. |
Beta Was this translation helpful? Give feedback.
-
This I believe one way of removing it would be to post process the HTML in a script, or using JS maybe to target all img in your div and removing the |
Beta Was this translation helpful? Give feedback.
This
<p><img>
is how Pandoc generate HTML for Image.I believe one way of removing it would be to post process the HTML in a script, or using JS maybe to target all img in your div and removing the
<p>
around<img>
.