Files
docling-core/test/data/doc/constructed_doc.referenced.md.gt
Panos Vagenas 14a4fdee87 feat: remodel lists, add MD & HTML ser. params, enable unset marker (#339)
* 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>
2025-06-27 14:52:25 +02:00

78 lines
1.5 KiB
Plaintext
Vendored

- item of leading list
# Title of the Document
Author 1
Affiliation 1
Author 2
Affiliation 2
## 1. Introduction
This paper introduces the biggest invention ever made. ...
- list item 1
- list item 2
- list item 3
1. list item 3.a
2. list item 3.b
3. list item 3.c
1. list item 3.c.i
- list item 4
This is the caption of table 1.
| Product | Years | Years |
|-----------|---------|---------|
| Product | 2016 | 2017 |
| Apple | 49823 | 695944 |
This is the caption of figure 1.
<!-- image -->
This is the caption of figure 2.
![Image](constructed_images/image_000001_f3cc103136423a57975750907ebc1d367e2985ac6338976d4d5a439f50323f4a.png)
- item 1 of list
* item 1 of list after empty list
- item 2 of list after empty list
- item 1 of neighboring list
- item 2 of neighboring list
- item 1 of sub list
- Here a code snippet: `print("Hello world")` (to be displayed inline)
- Here a formula: $E=mc^2$ (to be displayed inline)
Here a code block:
```
print("Hello world")
```
Here a formula block:
$$E=mc^2$$
<!-- missing-key-value-item -->
<!-- missing-form-item -->
Some formatting chops: **bold** *italic* underline ~~strikethrough~~ subscript superscript [hyperlink](.) &amp; [~~***everything at the same time.***~~](https://github.com/DS4SD/docling)
- (i) Item 1 in A
- (ii) Item 2 in A
- (iii) Item 3 in A
1. Item 1 in B
42. Item 2 in B
1. Item 1 in C
2. Item 2 in C
3. Item 3 in B
- (iv) Item 4 in A
- List item without parent list group
The end.