quill_markdown 0.0.3
quill_markdown: ^0.0.3 copied to clipboard

A quill to markdown converter and vice versa

Quill Markdown #

This package converts quill delta to markdown (.md) and vice versa for the package flutter_quill.

String content = '[{"insert":"Heading"},{"insert":"\\n","attributes":{"header":1}},{"insert":"bold","attributes":{"bold":true}},{"insert":"\\n"},{"insert":"bold and italic","attributes":{"bold":true,"italic":true}},{"insert":"\\nsome code"},{"insert":"\\n","attributes":{"code-block":true}},{"insert":"A quote"},{"insert":"\\n","attributes":{"blockquote":true}},{"insert":"ordered list"},{"insert":"\\n","attributes":{"list":"ordered"}},{"insert":"unordered list"},{"insert":"\\n","attributes":{"list":"bullet"}},{"insert":"link","attributes":{"link":"pub.dev/packages/quill_markdown"}},{"insert":"\\n"}]';
content = quillToMarkdown(content);
print(content);
content = markdownToQuill(content);
print(content);

Known Limitations: #

See why

  • Doesn't convert image, leaves that attribute.
  • Doesn't convert strike, leaves that attribute.
  • Doesn't convert color, leaves that attribute.
  • Doesn't convert background, leaves that attribute.
  • Doesn't convert underline, leaves that attribute.
  • Doesn't convert indent, leaves that attribute.
  • Doesn't convert checkbox, leaves that attribute.
  • Markdown to quill converter is very buggy.
6
likes
90
pub points
66%
popularity

Publisher

arjanaswal.com

A quill to markdown converter and vice versa

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

collection, flutter, meta, quiver_hashcode

More

Packages that depend on quill_markdown