mirror of
https://github.com/docling-project/docling-core.git
synced 2026-05-17 13:10:44 +00:00
* feat: remodel lists Signed-off-by: Panos Vagenas <pva@zurich.ibm.com> * prepare test document separate markers Signed-off-by: Panos Vagenas <pva@zurich.ibm.com> * add MD/HTML serializer options, expand test data Signed-off-by: Panos Vagenas <pva@zurich.ibm.com> * create list groups where not in place Signed-off-by: Panos Vagenas <pva@zurich.ibm.com> * add auto-increment logic Signed-off-by: Panos Vagenas <pva@zurich.ibm.com> * restore UnorderedList as deprecated alias (for backwards compatibility) Signed-off-by: Panos Vagenas <pva@zurich.ibm.com> * enable unset marker case Signed-off-by: Panos Vagenas <pva@zurich.ibm.com> * make ordered markers able to be "unset" (empty) too Signed-off-by: Panos Vagenas <pva@zurich.ibm.com> * rename default marker mode to auto Signed-off-by: Panos Vagenas <pva@zurich.ibm.com> --------- Signed-off-by: Panos Vagenas <pva@zurich.ibm.com>
82 lines
2.4 KiB
Plaintext
Vendored
82 lines
2.4 KiB
Plaintext
Vendored
0: unspecified with name=_root_
|
|
1: list with name=group
|
|
2: list_item: item of leading list
|
|
3: title: Title of the Document
|
|
4: text: Author 1
|
|
Affiliation 1
|
|
5: text: Author 2
|
|
Affiliation 2
|
|
6: chapter with name=Introduction
|
|
7: section_header: 1. Introduction
|
|
8: text: This paper introduces the biggest invention ever made. ...
|
|
9: list with name=group
|
|
10: list_item: list item 1
|
|
11: list_item: list item 2
|
|
12: list_item: list item 3
|
|
13: list with name=group
|
|
14: list_item: list item 3.a
|
|
15: list_item: list item 3.b
|
|
16: list_item: list item 3.c
|
|
17: list with name=group
|
|
18: list_item: list item 3.c.i
|
|
19: list_item: list item 4
|
|
20: caption: This is the caption of table 1.
|
|
21: table
|
|
22: caption: This is the caption of figure 1.
|
|
23: picture
|
|
24: caption: This is the caption of figure 2.
|
|
25: picture
|
|
26: list with name=group
|
|
27: list_item: item 1 of list
|
|
28: list with name=group
|
|
29: list with name=group
|
|
30: list_item: item 1 of list after empty list
|
|
31: list_item: item 2 of list after empty list
|
|
32: list with name=group
|
|
33: list_item: item 1 of neighboring list
|
|
34: list_item: item 2 of neighboring list
|
|
35: list with name=group
|
|
36: list_item: item 1 of sub list
|
|
37: list_item:
|
|
38: inline with name=group
|
|
39: text: Here a code snippet:
|
|
40: code: print("Hello world")
|
|
41: text: (to be displayed inline)
|
|
42: list_item:
|
|
43: inline with name=group
|
|
44: text: Here a formula:
|
|
45: formula: E=mc^2
|
|
46: text: (to be displayed inline)
|
|
47: text: Here a code block:
|
|
48: code: print("Hello world")
|
|
49: text: Here a formula block:
|
|
50: formula: E=mc^2
|
|
51: key_value_region
|
|
52: form
|
|
53: inline with name=group
|
|
54: text: Some formatting chops:
|
|
55: text: bold
|
|
56: text: italic
|
|
57: text: underline
|
|
58: text: strikethrough
|
|
59: text: subscript
|
|
60: text: superscript
|
|
61: text: hyperlink
|
|
62: text: &
|
|
63: text: everything at the same time.
|
|
64: list with name=list A
|
|
65: list_item: Item 1 in A
|
|
66: list_item: Item 2 in A
|
|
67: list_item: Item 3 in A
|
|
68: list with name=list B
|
|
69: list_item: Item 1 in B
|
|
70: list_item: Item 2 in B
|
|
71: list with name=list C
|
|
72: list_item: Item 1 in C
|
|
73: list_item: Item 2 in C
|
|
74: list_item: Item 3 in B
|
|
75: list_item: Item 4 in A
|
|
76: list with name=group
|
|
77: list_item: List item without parent list group
|
|
78: text: The end.
|