mirror of
https://github.com/DS4SD/docling.git
synced 2025-07-26 20:14:47 +00:00
improve test case
Signed-off-by: Panos Vagenas <pva@zurich.ibm.com>
This commit is contained in:
parent
1badf58e59
commit
57bb8750ad
@ -18,6 +18,6 @@ Create your feature branch: `git checkout -b feature/AmazingFeature` .
|
|||||||
|
|
||||||
Some *`formatted_code`*
|
Some *`formatted_code`*
|
||||||
|
|
||||||
## *Partially formatted* heading to escape `not_to_escape`
|
## *Partially formatted* heading to\_escape `not_to_escape`
|
||||||
|
|
||||||
[$$E=mc^2$$](https://en.wikipedia.org/wiki/Albert_Einstein)
|
[$$E=mc^2$$](https://en.wikipedia.org/wiki/Albert_Einstein)
|
||||||
|
@ -8,7 +8,7 @@ body:
|
|||||||
- $ref: '#/texts/32'
|
- $ref: '#/texts/32'
|
||||||
- $ref: '#/groups/8'
|
- $ref: '#/groups/8'
|
||||||
- $ref: '#/texts/35'
|
- $ref: '#/texts/35'
|
||||||
- $ref: '#/texts/40'
|
- $ref: '#/texts/39'
|
||||||
content_layer: body
|
content_layer: body
|
||||||
label: unspecified
|
label: unspecified
|
||||||
name: _root_
|
name: _root_
|
||||||
@ -120,7 +120,6 @@ groups:
|
|||||||
- $ref: '#/texts/36'
|
- $ref: '#/texts/36'
|
||||||
- $ref: '#/texts/37'
|
- $ref: '#/texts/37'
|
||||||
- $ref: '#/texts/38'
|
- $ref: '#/texts/38'
|
||||||
- $ref: '#/texts/39'
|
|
||||||
content_layer: body
|
content_layer: body
|
||||||
label: inline
|
label: inline
|
||||||
name: group
|
name: group
|
||||||
@ -130,7 +129,7 @@ groups:
|
|||||||
key_value_items: []
|
key_value_items: []
|
||||||
name: inline_and_formatting
|
name: inline_and_formatting
|
||||||
origin:
|
origin:
|
||||||
binary_hash: 11578856098237602413
|
binary_hash: 16409076955457599155
|
||||||
filename: inline_and_formatting.md
|
filename: inline_and_formatting.md
|
||||||
mimetype: text/markdown
|
mimetype: text/markdown
|
||||||
pages: {}
|
pages: {}
|
||||||
@ -570,21 +569,12 @@ texts:
|
|||||||
- children: []
|
- children: []
|
||||||
content_layer: body
|
content_layer: body
|
||||||
label: text
|
label: text
|
||||||
orig: heading to
|
orig: heading to_escape
|
||||||
parent:
|
parent:
|
||||||
$ref: '#/groups/9'
|
$ref: '#/groups/9'
|
||||||
prov: []
|
prov: []
|
||||||
self_ref: '#/texts/37'
|
self_ref: '#/texts/37'
|
||||||
text: heading to
|
text: heading to_escape
|
||||||
- children: []
|
|
||||||
content_layer: body
|
|
||||||
label: text
|
|
||||||
orig: escape
|
|
||||||
parent:
|
|
||||||
$ref: '#/groups/9'
|
|
||||||
prov: []
|
|
||||||
self_ref: '#/texts/38'
|
|
||||||
text: escape
|
|
||||||
- captions: []
|
- captions: []
|
||||||
children: []
|
children: []
|
||||||
code_language: unknown
|
code_language: unknown
|
||||||
@ -596,7 +586,7 @@ texts:
|
|||||||
$ref: '#/groups/9'
|
$ref: '#/groups/9'
|
||||||
prov: []
|
prov: []
|
||||||
references: []
|
references: []
|
||||||
self_ref: '#/texts/39'
|
self_ref: '#/texts/38'
|
||||||
text: not_to_escape
|
text: not_to_escape
|
||||||
- children: []
|
- children: []
|
||||||
content_layer: body
|
content_layer: body
|
||||||
@ -606,6 +596,6 @@ texts:
|
|||||||
parent:
|
parent:
|
||||||
$ref: '#/body'
|
$ref: '#/body'
|
||||||
prov: []
|
prov: []
|
||||||
self_ref: '#/texts/40'
|
self_ref: '#/texts/39'
|
||||||
text: $$E=mc^2$$
|
text: $$E=mc^2$$
|
||||||
version: 1.4.0
|
version: 1.4.0
|
||||||
|
2
tests/data/md/inline_and_formatting.md
vendored
2
tests/data/md/inline_and_formatting.md
vendored
@ -18,6 +18,6 @@ Create your feature branch: `git checkout -b feature/AmazingFeature`.
|
|||||||
|
|
||||||
Some *`formatted_code`*
|
Some *`formatted_code`*
|
||||||
|
|
||||||
## *Partially formatted* heading to\_escape `not_to_escape`
|
## *Partially formatted* heading to_escape `not_to_escape`
|
||||||
|
|
||||||
[$$E=mc^2$$](https://en.wikipedia.org/wiki/Albert_Einstein)
|
[$$E=mc^2$$](https://en.wikipedia.org/wiki/Albert_Einstein)
|
||||||
|
Loading…
Reference in New Issue
Block a user