Skip to content

Commit 6dcb94e

Browse files
committed
test: add code-linking test
1 parent 3f79011 commit 6dcb94e

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
---
2+
title: "Issue 13216"
3+
format: html
4+
code-annotations: below
5+
code-link: true
6+
_quarto:
7+
tests:
8+
html:
9+
ensureHtmlElements:
10+
-
11+
- "dl.code-annotation-container-grid"
12+
---
13+
14+
`downlit` (`code-link`) should be disable and `code-annotations` should be enabled.
15+
16+
```
17+
hello
18+
```
19+
20+
```{r}
21+
2 + 2 # <1>
22+
```
23+
24+
1. This should be styled as a popup.

0 commit comments

Comments
 (0)