-
Notifications
You must be signed in to change notification settings - Fork 331
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor mediabag to allow working directly with paths instead of images because this image is written straight to typst and we can't put a Pandoc image inside include-in-headers and even if we could, this goes through dependencies json
- Loading branch information
1 parent
a2046c0
commit 2b6ec72
Showing
4 changed files
with
53 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
tests/docs/smoke-all/typst/brand-yaml/logo/online-logo.qmd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
--- | ||
title: "Untitled" | ||
format: | ||
typst: | ||
keep-typ: true | ||
brand: | ||
logo: | ||
medium: https://quarto.org/quarto.png | ||
_quarto: | ||
tests: | ||
typst: | ||
ensureTypstFileRegexMatches: | ||
- | ||
- '#set page\(background: align\(left\+top, box\(inset: 0.75in, image\("online-logo_files(/|\\)mediabag(/|\\)quarto.png", width: 1.5in\)\)\)\)' | ||
- [] | ||
--- | ||
|