Skip to content

Commit 697aee5

Browse files
committed
regression test
1 parent 10d55c0 commit 697aee5

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
title: issue-5413
3+
_quarto:
4+
tests:
5+
html:
6+
ensureHtmlElements:
7+
- ["figcaption.quarto-float-fig"]
8+
- []
9+
---
10+
11+
```{python}
12+
#| label: fig-1
13+
#| fig-cap: |
14+
#| This is a caption for my figure.
15+
#| It is long, so I put it onto two lines
16+
import numpy as np
17+
import matplotlib.pyplot as plt
18+
plt.plot(np.arange(10))
19+
```
20+
21+
See @fig-1.

0 commit comments

Comments
 (0)