TarekkMA / markdown_quill

Convert quill (Delta) fromat to and from markdown
MIT License
19 stars 43 forks source link

Bug: Checklists are not currently supported (Delta to markdown ) #11

Closed Allenxuxu closed 9 months ago

Allenxuxu commented 1 year ago

Delta to markdown

image
insert⟨ Dads ⟩
insert⟨ ⏎ ⟩ + {list: unchecked}
insert⟨ 1212 ⟩
insert⟨ ⏎ ⟩ + {list: checked}

get:

- Dads
- 1212

should be:

[ ] Dads
[*] 1212
TarekkMA commented 9 months ago

This should be fixed by #18

TarekkMA commented 9 months ago

Your example were helpful creating the test case for this feature ❤️ thank you:

https://github.com/TarekkMA/markdown_quill/blob/cc84634c83267602e5baa1fc03eb9a665ca7d419/test/markdown_to_delta_test.dart#L1501-L1512

https://github.com/TarekkMA/markdown_quill/blob/cc84634c83267602e5baa1fc03eb9a665ca7d419/test/delta_to_markdown_test.dart#L454-L467

TarekkMA commented 9 months ago

markdown_quill: ^3.1.0 Now supports this featuer