Repository navigation
Conversation
Collaborator
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
mcanouil
marked this pull request as ready for review
November 22, 2026 22:35
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
In Typst output,
callout()now receives the callout type askindand the appearance asappearance, on both the basic and the cross-referenced paths.A template or an extension that redefines
callout()can then style each type without guessing from the colours, which breaks when_brand.ymlchanges them (#14092).The Callout constructor turns
minimalintosimplewith no icon, and the HTML, LaTeX and DOCX renderers rely on that.The constructor now also keeps the original value, so
appearanceis"default","simple"or"minimal"in Typst, and the other formats don't change.A callout created with
quarto.Callout()and no type getskind: "none", the same value as a plain.calloutdiv.The default
callout()indefinitions.typdeclareskind: "none", appearance: "default", the same values Quarto sends, and ignores them, so Quarto's own callouts look the same.Typst rejects undeclared named arguments, so a
callout()override without..argswill now fail.The issue lists the extensions I found with such an override, and the changelog entry asks template authors to accept
..args.The new smoke-all tests check the generated
.typfor each type and appearance, a typeless callout from the Lua API, and an override that reads both values.Closes #15414.
Checklist
I have (if applicable):