Repository navigation
Conversation
5 tasks done
mcanouil
marked this pull request as ready for review
November 1, 2026 20:53
The Typst custom format page now describes quarto-code-filename and quarto-code-block-style, with an example frame. The code annotation callout names 1.12, the release that brings the feature.
This branch has not been deployed
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.
Documents code annotations and the
filenameattribute for Typst output, added in:The code annotation page gets a Typst tab with a screenshot and a prerelease callout for 1.12.
It also says that
hoverandselectuse the same layout asbelowin Typst, and that the Typst format supports annotations.The HTML code page now says that Typst shows the filename in a bar above the code block, and its
_freezeentry is refreshed for that sentence.The markdown basics page says the same next to the
filenameexample.The Typst custom format page gets a "Code Blocks" section for format and filter authors.
It describes
quarto-code-filename, which draws a code block with a filename, and thequarto-code-block-stylestate, which holds the inset, radius and outline of code blocks.Its example draws a frame around a code block with a filename, and I rendered that example with a Quarto build of quarto-dev/quarto-cli#14170.
The pull request targets
prerelease, because the feature is new in 1.12.I rendered the changed pages on their own with
quarto render, not the whole site, and the new text, callouts and screenshot appear in the output.The screenshot is from a Typst render of the existing penguins example.