mirror of
https://github.com/typst/typst
synced 2025-08-12 22:27:56 +08:00
Headings are not paragraphs
This commit is contained in:
parent
0e575632de
commit
1f53ff26b9
BIN
tests/ref/heading-par.png
Normal file
BIN
tests/ref/heading-par.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 555 B |
@ -128,6 +128,11 @@ Not in heading
|
||||
// Hint: 1:19-1:25 you can enable heading numbering with `#set heading(numbering: "1.")`
|
||||
Cannot be used as @intro
|
||||
|
||||
--- heading-par ---
|
||||
// Ensure that heading text isn't considered a paragraph.
|
||||
#show par: highlight
|
||||
= Heading
|
||||
|
||||
--- heading-html-basic html ---
|
||||
// level 1 => h2
|
||||
// ...
|
||||
|
Loading…
x
Reference in New Issue
Block a user