mity / md4c

C Markdown parser. Fast. SAX-like interface. Compliant to CommonMark specification.
MIT License
755 stars 138 forks source link

Update commonmark spec from upstream (and reflect its changes) #208

Closed mity closed 5 months ago

mity commented 5 months ago

This PR uses (yet unreleased) Commonmark specification from the spec repo and implements changes mandated by it.

Quite possibly won't be merged into trunk until the next spec version gets released.

Update: spec 0.31 has been released.

codecov[bot] commented 5 months ago

Codecov Report

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

Comparison is base (5bd6224) 91.75% compared to head (584d389) 91.76%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #208 +/- ## ========================================== + Coverage 91.75% 91.76% +0.01% ========================================== Files 5 5 Lines 3410 3402 -8 ========================================== - Hits 3129 3122 -7 + Misses 281 280 -1 ```

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

github-advanced-security[bot] commented 5 months ago

This pull request sets up GitHub code scanning for this repository. Once the scans have completed and the checks have passed, the analysis results for this pull request branch will appear on this overview. Once you merge this pull request, the 'Security' tab will show more code scanning analysis results (for example, for the default branch). Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results. For more information about GitHub code scanning, check out the documentation.

mity commented 5 months ago

cc @ec1oud

Spec 0.31 has just been released. This changes my plans: Will make release as soon as I get some confidence the quality (with this PR) is no worse than 0.5.1.

The respective changes in code (other than update of the punctuation table) very local and quite benign so I don't expect troubles.