Panos Vagenas

Results 34 comments of Panos Vagenas

Hi @simonschoe > [!IMPORTANT] > The new Serialization API is currently in "beta" under `docling_core.experimental.serializer`, i.e. > - the import package WILL change > - the API MAY still slightly...

> Minor comment: not sure why but the serializer serializes `&` to `&`. @simonschoe Markdown can contain HTML, so the Markdown serializer does HTML escaping. FYI Markdown renderers do render...

Closing as meanwhile released with [docling-core v2.29.0](https://github.com/docling-project/docling-core/releases/tag/v2.29.0).

@simonschoe the "inline" is a type of group in the DoclingDocument that enables us to mix together different types of items (e.g. a bold text, a normal text, a code...

Hi @SimJeg, with https://github.com/docling-project/docling-core/pull/182 we introduced —as beta— a Serialization API operating against the DoclingDocument. This also includes formatting. [This test code](https://github.com/docling-project/docling-core/blob/65a82a158c41510a464410fd109a0f62a0b3c557/test/test_docling_doc.py#L785-L827) shows how the various formatting options can be...

Hi @SimJeg, where do you stand on the discussed updates? To provide some more context on [our example snippet](https://github.com/docling-project/docling-core/blob/65a82a158c41510a464410fd109a0f62a0b3c557/test/test_docling_doc.py#L781-L829): - we use **formatting & hyperlink** options to specify how individual...

@SimJeg > now returns <u> instead of for underline The actual Markdown-specific formatting is performed automatically by `export_to_markdown()` (i.e. the `format_text()` in this PR is to be removed 😉) —...

@SimJeg 1. underline is indeed deliberately not considered by the Markdown export. 2. to get that you'll need to create an inline group as mentioned above. E.g. you could do...

@SimJeg > what's wrong with the code I shared were I (try to) use inline groups ? Well, you don't want to have a separate inline group for each paragraph...

Thanks for the valuable input @rateixei — formatting in special case of equations to be addressed in follow-up iteration.