Skip to content

Commit 7235121

Browse files
committed
in typst #align does not have new line anymore inserted before box
1 parent 48e7bb7 commit 7235121

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

dev-docs/feature-format-matrix/qmd-files/layout/fig-align/code-python-label.qmd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ _quarto:
1818
typst:
1919
ensureTypstFileRegexMatches:
2020
-
21-
- "#align\\(right\\)\\[(\r\n?|\n)#box"
21+
- '#align\(right\)\[(\r\n?|\n)?#box'
2222
-
23-
- "#block\\[(\r\n?|\n)#align\\(right\\)\\["
23+
- '#block\[(\r\n?|\n)?#align\(right\)\['
2424
---
2525

2626

dev-docs/feature-format-matrix/qmd-files/layout/fig-align/code-python-nocaption.qmd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ _quarto:
1818
typst:
1919
ensureTypstFileRegexMatches:
2020
-
21-
- "#align\\(right\\)\\[(\r\n?|\n)#box"
21+
- '#align\(right\)\[(\r\n?|\n)?#box'
2222
-
23-
- "#block\\[(\r\n?|\n)#align\\(right\\)\\["
23+
- '#block\[(\r\n?|\n)?#align\(right\)\['
2424
---
2525

2626

dev-docs/feature-format-matrix/qmd-files/layout/fig-align/code-r-nocaption.qmd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ _quarto:
1818
typst:
1919
ensureTypstFileRegexMatches:
2020
-
21-
- "#align\\(right\\)\\[(\r\n?|\n)#box"
21+
- '#align\(right\)\[(\r\n?|\n)?#box'
2222
-
23-
- "#block\\[(\r\n?|\n)#align\\(right\\)\\["
23+
- '#block\[(\r\n?|\n)?#align\(right\)\['
2424
---
2525

2626
```{r}

0 commit comments

Comments
 (0)