mirror of
https://github.com/typst/typst
synced 2025-08-10 13:17:55 +08:00
Compare commits
1 Commits
fac7ca6ada
...
a5f371ea09
Author | SHA1 | Date | |
---|---|---|---|
|
a5f371ea09 |
@ -7,5 +7,6 @@
|
||||
<body>
|
||||
<p><s>Struck</s> <mark>Highlighted</mark> <span style="text-decoration: underline">Underlined</span> <span style="text-decoration: overline">Overlined</span></p>
|
||||
<p><span style="text-decoration: overline"><span style="text-decoration: underline"><mark><s>Mixed</s></mark></span></span></p>
|
||||
<p><span style="font-variant-caps: small-caps">Small Caps</span> <span style="font-variant-caps: all-small-caps">All Small Caps</span></p>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -1,10 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
</head>
|
||||
<body>
|
||||
<p><span style="font-variant-caps: small-caps">Test 012</span><br><span style="font-variant-caps: all-small-caps">Test 012</span></p>
|
||||
</body>
|
||||
</html>
|
@ -91,3 +91,6 @@ We can also specify a customized value
|
||||
#overline[Overlined]
|
||||
|
||||
#(strike, highlight, underline, overline).fold([Mixed], (it, f) => f(it))
|
||||
|
||||
#smallcaps[Small Caps]
|
||||
#smallcaps(all: true)[All Small Caps]
|
||||
|
@ -11,6 +11,6 @@
|
||||
#show smallcaps: set text(fill: red)
|
||||
#smallcaps[Smallcaps]
|
||||
|
||||
--- smallcaps-all render html ---
|
||||
--- smallcaps-all ---
|
||||
#smallcaps(all: false)[Test 012] \
|
||||
#smallcaps(all: true)[Test 012]
|
||||
|
Loading…
x
Reference in New Issue
Block a user