# delta2html **Repository Path**: leuting/delta2html ## Basic Information - **Project Name**: delta2html - **Description**: convert delta to html in flutter quill - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-08-02 - **Last Updated**: 2022-09-16 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Delta_To_HTML A portable Markdown library written in Dart. It help to convert Delta To HTML . ### Usage ```dart import 'package:delta_markdown/delta_markdown.dart'; void main() { const delta = r'[{"insert":"Hello "},{"insert":"Markdown","attributes":{"bold":true}},{"insert":"\n"}]'; // print(deltaToHTML(delta)); print(DeltaToHTML.encodeJson(delta)); } ``` ### Supports Currently, these elements are supported: - Bold - Italic - Link - Blockquote - Header - List - Code Block - Image - Horizontal Rule Does not support the following elements, because Markdown does not support them: - Background Color - Color - Font - Size - Strikethrough - Superscript/Subscript - Underline - Text Alignment - Text Direction - Formula - Video Does not support the following elements, because flutter_quill does not support them: - Inline Code ### Known limits Support for these elements must be implemented: - Indent There are only a few tests so far, so the functionality is not yet guaranteed in complex cases.