Skip to content

Commit 9c30925

Browse files
claude: Update caption formatting test for new alignment approach
The test was checking for #set align(left) inside the figure, but listings now use a document-level show rule for alignment: #show figure.where(kind: "quarto-float-lst"): set align(start) Update the regex to match the new approach. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent be8f856 commit 9c30925

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎tests/docs/smoke-all/crossrefs/float/typst/typst-float-caption-formatting-1.qmd‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ _quarto:
66
tests:
77
typst:
88
ensureTypstFileRegexMatches:
9-
-
9+
-
1010
- "Customers #emph\\[query\\]"
11-
- '#figure\(\[[\s]+#set align\(left\)' # FIXME: change if we manage center in typst's template
11+
- '#show figure\.where\(kind: "quarto-float-lst"\): set align\(start\)' # Listings use show rule for alignment
1212

1313
---
1414

0 commit comments

Comments
 (0)