Skip to content

Commit a99fa11

Browse files
committed
Add test for 8012.qmd to make sur we don't break this
1 parent 7510cd9 commit a99fa11

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
---
2+
format: revealjs
3+
_quarto:
4+
tests:
5+
revealjs:
6+
ensureHtmlElements:
7+
- ['section:nth-child(2)#python-slide > h2']
8+
- ['section#title-slide', 'section#title-slide > h1.title']
9+
ensureFileRegexMatches:
10+
- ['Custom title[\s\S]+Python slide']
11+
- ['Python slide[\s\S]+Custom title']
12+
engine: jupyter
13+
---
14+
15+
##
16+
17+
Custom title slide desired here with custom content and no slide title
18+
19+
There should be no title slide in this presentation, and Python slide should be after this slide.
20+
21+
rendering through ipynb shouldn't promote title in a way that it messes the slide order.
22+
23+
## Python slide {#python-slide}
24+
25+
```{python}
26+
print(2+2)
27+
```

0 commit comments

Comments
 (0)