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

Peritext fragments #759

Open
3 of 14 tasks
streamich opened this issue Nov 10, 2024 · 0 comments
Open
3 of 14 tasks

Peritext fragments #759

streamich opened this issue Nov 10, 2024 · 0 comments

Comments

@streamich
Copy link
Owner

streamich commented Nov 10, 2024

Ability to specify a fragment which can be individually rendered:

  • Fragment class
  • Ability to export Fragment to HTML
  • Ability to export Fragment to Markdown
  • Ability to export Fragment to Quill Delta
  • Ability to export Fragment to plain text
  • .toJson - exports Peritext Fragment in its native tree structure

Add ability to convert rich-text across formats:

  • It should work for the whole document as well as a range of it
  • Exports
    • JSON CRDT Peritext to Markdown
    • JSON CRDT Peritext to HTML
    • JSON CRDT Peritext to fragment
  • Imports
    • Markdown to JSON CRDT Peritext
    • HTML to JSON CRDT Peritext
    • Fragment to JSON CRDT Peritext
@streamich streamich changed the title Peritext: format converters Peritext fragments Nov 27, 2024
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

No branches or pull requests

1 participant