mirror of
https://github.com/typst/typst
synced 2025-08-07 19:57:54 +08:00
tests
This commit is contained in:
parent
1a00df68c7
commit
457c2a187d
BIN
tests/ref/issue-5719-no-sub-heading.png
Normal file
BIN
tests/ref/issue-5719-no-sub-heading.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.1 KiB |
BIN
tests/ref/issue-5719-sub-enum-numbering.png
Normal file
BIN
tests/ref/issue-5719-sub-enum-numbering.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 16 KiB |
BIN
tests/ref/issue-5719-sub-list.png
Normal file
BIN
tests/ref/issue-5719-sub-list.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 17 KiB |
BIN
tests/ref/issue-5719-sub-term.png
Normal file
BIN
tests/ref/issue-5719-sub-term.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 5.2 KiB |
@ -193,14 +193,15 @@ a + 0.
|
||||
#align(right)[+ align]
|
||||
+ h
|
||||
|
||||
|
||||
--- issue-5719-sub-enum-numbering ---
|
||||
#set enum(numbering: "(a)")
|
||||
|
||||
+ first main
|
||||
1. first main
|
||||
2. 1. first sub
|
||||
2. second sub
|
||||
+ + first sub
|
||||
+ second sub
|
||||
+ = Heading
|
||||
text
|
||||
== Sub-heading
|
||||
more text
|
||||
= Heading outside enum
|
||||
|
||||
- first main
|
||||
- - first sub
|
||||
- second sub
|
||||
|
@ -136,3 +136,7 @@ Cannot be used as @intro
|
||||
// Hint: 1-16 HTML only supports <h1> to <h6>, not <h8>
|
||||
// Hint: 1-16 you may want to restructure your document so that it doesn't contain deep headings
|
||||
======= Level 7
|
||||
|
||||
|
||||
--- issue-5719-no-sub-heading ---
|
||||
= = Nest heading
|
@ -276,3 +276,13 @@ World
|
||||
- h
|
||||
#align(right)[- i]
|
||||
- j
|
||||
|
||||
--- issue-5719-sub-list ---
|
||||
- first main
|
||||
- - first sub
|
||||
- second sub
|
||||
- = Heading in the list
|
||||
text
|
||||
== Sub-heading in the list
|
||||
more text
|
||||
= new heading outside list
|
@ -90,3 +90,8 @@ Not in list
|
||||
/ h: h
|
||||
#align(right)[/ i: i]
|
||||
/ j: j
|
||||
|
||||
--- issue-5719-sub-term ---
|
||||
/ Term A: first
|
||||
/ Term B: / Term C: second
|
||||
/ Term D: third
|
||||
|
Loading…
x
Reference in New Issue
Block a user