diff options
| author | Laurenz <laurmaedje@gmail.com> | 2025-06-26 15:44:45 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-26 13:44:45 +0000 |
| commit | 9311f6f08eca583b6214834148c94685f0161c21 (patch) | |
| tree | 3d217e63cbd2fd162abe98ba0f9818058c39dc27 /tests/suite | |
| parent | 7420ec972ffd6e4893fa24d12992b375da6b11fa (diff) | |
Basic support for text decoration functions in HTML (#6510)
Diffstat (limited to 'tests/suite')
| -rw-r--r-- | tests/suite/text/deco.typ | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/suite/text/deco.typ b/tests/suite/text/deco.typ index 07fdb6c1..a1d287d9 100644 --- a/tests/suite/text/deco.typ +++ b/tests/suite/text/deco.typ @@ -83,3 +83,11 @@ We can also specify a customized value #highlight(stroke: 2pt + blue)[abc] #highlight(stroke: (top: blue, left: red, bottom: green, right: orange))[abc] #highlight(stroke: 1pt, radius: 3pt)[#lorem(5)] + +--- html-deco html --- +#strike[Struck] +#highlight[Highlighted] +#underline[Underlined] +#overline[Overlined] + +#(strike, highlight, underline, overline).fold([Mixed], (it, f) => f(it)) |
