Skip to content

Commit 0f9a763

Browse files
failing test: customzation without path
we did not have any tests for this previously but it did work
1 parent 4f95ed3 commit 0f9a763

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: logo background
3+
format:
4+
typst:
5+
keep-typ: true
6+
logo:
7+
# currently we fail silently without path here
8+
location: center-top
9+
padding: 2rem
10+
width: 300px
11+
brand:
12+
logo:
13+
large: quarto/quarto.png
14+
_quarto:
15+
tests:
16+
typst:
17+
ensureTypstFileRegexMatches:
18+
-
19+
- '#set page\(background: align\(center\+top, box\(inset: 2em, image\("quarto(/|\\\\)quarto.png", width: 225pt\)\)\)\)'
20+
- []
21+
---
22+
23+
{{< lipsum 4 >}}
24+

0 commit comments

Comments
 (0)