Skip to content
Discussion options

You must be logged in to vote

You need to use a fenced div (see https://quarto.org/docs/authoring/figures.html#figure-divs) which is better for long caption in my opinion.

---
format: html
---

::: {#fig-elephant}
[![](https://upload.wikimedia.org/wikipedia/commons/thumb/1/1a/Elephant_Diversity.jpg/1920px-Elephant_Diversity.jpg)](https://en.wikipedia.org/wiki/Elephant)

This caption includes a link to [a webpage](https://en.wikipedia.org/wiki/Elephant). Also, click the image to try out the application.
:::

Replies: 1 comment 8 replies

Comment options

You must be logged in to vote
8 replies
@mcanouil
Comment options

@ElineVG
Comment options

@mcanouil
Comment options

@ElineVG
Comment options

@mcanouil
Comment options

Answer selected by ElineVG
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants