diff options
| author | Laurenz <laurmaedje@gmail.com> | 2022-04-05 14:51:06 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2022-04-05 15:04:31 +0200 |
| commit | b865accae6c5e9f5d62afe4637c985c81b70eb4f (patch) | |
| tree | 752e0c3cc73b32b7ec16c1b26516610b79a29544 /tests | |
| parent | 2eacfcfa8121e1002db45232b343ce846c0c8b2f (diff) | |
Don't allow headings to span multiple lines
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/ref/structure/heading.png | bin | 25291 -> 23257 bytes | |||
| -rw-r--r-- | tests/typ/structure/heading.typ | 18 |
2 files changed, 7 insertions, 11 deletions
diff --git a/tests/ref/structure/heading.png b/tests/ref/structure/heading.png Binary files differindex 09f3d7c7..693ae763 100644 --- a/tests/ref/structure/heading.png +++ b/tests/ref/structure/heading.png diff --git a/tests/typ/structure/heading.typ b/tests/typ/structure/heading.typ index 2ae97aa8..f4ba5f33 100644 --- a/tests/typ/structure/heading.typ +++ b/tests/typ/structure/heading.typ @@ -26,19 +26,15 @@ No = heading \= No heading --- -// While indented at least as much as the start, the heading continues. +// Blocks can continue the heading. -= This - is - indented. - -= This -is not. += [This +is +multiline. +] -// Code blocks continue heading. -= A { - "B" -} += This + is not. --- // Test styling. |
