mirror of
https://github.com/typst/typst
synced 2025-05-17 02:25:27 +08:00
add test for decorator at end of line
This commit is contained in:
parent
9b311c1bb2
commit
f8730b09f3
@ -112,6 +112,12 @@ this is ok
|
||||
/! allow("unknown-font-families")
|
||||
#g()
|
||||
|
||||
--- allow-suppresses-line-below-but-not-same-line ---
|
||||
// Warning: 3-5 no text within stars
|
||||
// Hint: 3-5 using multiple consecutive stars (e.g. **) has no additional effect
|
||||
#[**] /! allow("unnecessary-stars")
|
||||
#[**]
|
||||
|
||||
--- allow-before-parbreak-doesnt-suppress-warn ---
|
||||
// Warning: 3:3-3:5 no text within stars
|
||||
// Hint: 3:3-3:5 using multiple consecutive stars (e.g. **) has no additional effect
|
||||
|
Loading…
x
Reference in New Issue
Block a user