mirror of
https://github.com/typst/typst
synced 2025-05-17 02:25:27 +08:00
add decorator tests
This commit is contained in:
parent
9f9e8770b8
commit
fdfd880f63
16
tests/suite/syntax/decorator.typ
Normal file
16
tests/suite/syntax/decorator.typ
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
// Test decorators.
|
||||||
|
|
||||||
|
--- decorator ---
|
||||||
|
|
||||||
|
/! allow("unnecessary-stars")
|
||||||
|
#[*a*]
|
||||||
|
|
||||||
|
#{
|
||||||
|
/! allow("unnecessary-stars")
|
||||||
|
[*a*]
|
||||||
|
}
|
||||||
|
|
||||||
|
$
|
||||||
|
/! allow("unnecessary-stars")
|
||||||
|
#[*a*]
|
||||||
|
$
|
Loading…
x
Reference in New Issue
Block a user