TarekkMA / markdown_quill

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

add ability to customize special character escaping #31

Closed vishna closed 2 months ago

vishna commented 2 months ago

What is this PR about?

Currently all special characters (that are part of markdown syntax) are getting escaped, e.g. . becomes \. when converting from quill to markdown. This is a reasonable but not always a desirable approach.

This PR adds customization of this behavior.

Description of changes

vishna commented 2 months ago

@TarekkMA done

codecov[bot] commented 2 months ago

Codecov Report

Attention: Patch coverage is 95.45455% with 1 line in your changes missing coverage. Please review.

Project coverage is 94.20%. Comparing base (f8889f9) to head (a34470c). Report is 3 commits behind head on master.

Files Patch % Lines
lib/src/delta_to_markdown.dart 95.45% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #31 +/- ## ========================================== - Coverage 94.27% 94.20% -0.07% ========================================== Files 5 5 Lines 454 466 +12 ========================================== + Hits 428 439 +11 - Misses 26 27 +1 ```

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