typst/tests/lang/typ/headings.typ
Laurenz cc5f14193c Flip test directory structure 🔃
Move full/lang/library to the top-level as that's more ergonomic to use.
2021-01-16 15:39:25 +01:00

39 lines
426 B
XML

// Test different numbers of hashtags.
# One
### Three
###### Six
// Warning: 1:1-1:8 section depth should not exceed 6
####### Seven
---
// Test heading vs. no heading.
/**/ # Heading
{[## Heading]}
[box][### Heading]
\# No heading
Text with # hashtag
Nr#1
// Error: 1:1-1:6 unexpected invalid token
#nope
---
// Heading continuation over linebreak.
# This {
"works"
}
# [box][
This
] too
# This
does not