Files
docling-core/test/data/doc/constructed.gt.txt
samiuc e363c951d8 feat: add plain-text serializer (#522)
* feat: add plain-text serializer

Signed-off-by: samiuc <sami.ullah.chat@gmail.com>

* fix code coverage

Signed-off-by: samiuc <sami.ullah.chat@gmail.com>

---------

Signed-off-by: samiuc <sami.ullah.chat@gmail.com>
2026-03-06 10:20:21 +01:00

73 lines
1.3 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.
This is the caption of figure 2.
- 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 & everything at the same time.
- (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.