parchment_to_html

Creator: coderz1093

Last updated:

0 purchases

TODO
Add to Cart

Description:

parchment to html

parchment_to_html #
Parchment To HTMl
Note #
HTML to Parchment for Flutter applications based on Notus to Html. It uses a document model named Parchment based on Notus.
Getting Started #
This project is a generic Dart package used to convert between HTML and the Parchment document format.It is a replica of Notus to Html package for Zefyr but since Zefyr is not longer manage and the alternative is fleather which doesn't use Notus but Parchment , so to convert your parchement to html
Usage #
Encode HTML #
const converter = ParchmentHtmlCodec();
String html = converter.encode(doc.toDelta());
log(html); // The HTML representation of the ParchmentDocument
copied to clipboard
Decode HTML #
Delta delta = converter.decode(html); // Fleather compatible Delta
ParchmentDocument document = ParchmentDocument.fromDelta(delta);
log(document.toString());
copied to clipboard
Credits #
This project is inspired by Notus to Html. Credit is given to the original project for its contribution to this package.

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files:

Customer Reviews

There are no reviews.