Repository navigation
Commit 3238896
committed
typst: alias divider() to Quarto's horizontalrule for Pandoc 3.13
Pandoc 3.13's typst writer emits #divider() for HorizontalRule. With
Typst 0.15 that resolves to std.divider, a full-width 0.55pt line,
silently replacing Quarto's centered 25-75% rule. Define divider() as
an alias of the existing horizontalrule so documents keep their look;
the name horizontalrule stays because notes.typ and external typst
templates call it.1 parent 2182ec6 commit 3238896
3 files changed
Lines changed: 26 additions & 1 deletion
File tree
- llm-docs
- src/resources/formats/typst/pandoc/quarto
- tests/docs/smoke-all/typst
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
89 | | - | |
| 89 | + | |
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
15 | 19 | | |
16 | 20 | | |
17 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
0 commit comments