Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: added the XML export #16

Merged
merged 10 commits into from
Sep 9, 2024
Merged

Conversation

PeterStaar-IBM
Copy link
Contributor

@PeterStaar-IBM PeterStaar-IBM commented Sep 9, 2024

  • Adds the possibility to export documents as document tokens
  • Choose which object types are included in the exports (tokens and markdown)
  • Specialize a new type for Figure objects

Signed-off-by: Peter Staar <[email protected]>
Signed-off-by: Peter Staar <[email protected]>
Signed-off-by: Peter Staar <[email protected]>
@PeterStaar-IBM PeterStaar-IBM marked this pull request as ready for review September 9, 2024 12:15
"paragraph",
"caption",
}:
if isinstance(item, BaseText) and item_type in {}:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess this was intended this way:

Suggested change
if isinstance(item, BaseText) and item_type in {}:
if isinstance(item, BaseText) and item_type in main_text_labels:

@PeterStaar-IBM PeterStaar-IBM changed the title added the XML export feat: added the XML export Sep 9, 2024
@PeterStaar-IBM PeterStaar-IBM merged commit acdf816 into main Sep 9, 2024
9 checks passed
@PeterStaar-IBM PeterStaar-IBM deleted the dev/add-export-to-xml-and-html branch September 9, 2024 15:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants