TarekkMA / markdown_quill

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

fix prefix number of ordered list #28

Closed vishna closed 1 month ago

vishna commented 1 month ago

closes #27

Description of changes

Added

String _prefixNumber(Node node, int indentLevel)

to delta_to_markdown.dart that figures out (to best of my node traversing abilities) what number and indent each item on the ordered list should have

Added issue_27_test.dart for issue repro

codecov[bot] commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 94.24%. Comparing base (bc19d8e) to head (f6c1d41). Report is 4 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #28 +/- ## ========================================== + Coverage 93.88% 94.24% +0.36% ========================================== Files 5 5 Lines 425 452 +27 ========================================== + Hits 399 426 +27 Misses 26 26 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.