-
Notifications
You must be signed in to change notification settings - Fork 12
[META] What version of CommonMark does each release comply with? #45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
A search for "commonmark" in this repository shows many references to 0.30 , but there are a few that show other versions, eg:
This is rather contradictory. At any rate, the current CommonMark spec is 0.31.2, so this package is not up to date with upstream. |
TL;DR: this crate, markdown-it.rs, aleardy seems to comply with version 0.31.2, even if incidentally. This might present a problem if 0.31.2 weren't just upkeep for the spec: updating outdated URLs, in some cases linking to archive.org archives, correcting spelling/grammar errors, etc. The largest changes are a change of definition of punctuation marks in Unicode from "an ASCII punctuation character or anything in the general Unicode categories In addition, there was the removal of a single hyphen to be interpreted as an empty list rather than setext heading (likely due to setext headers being able to be any length, including just 1); however, this crate already appears to comply with this (this can be verified on the online demo).
Second seems like The author stating that as of CommonMark 0.20, empty labels were disallowed, and not that the version as of now is 0.20. As for the first, I'm unsure--it could be updated, but given the only difference of that definition since 0.15 seems to be that at some point more explicit unicode character points were added, so this would likely be unnecessary. |
I wasn't able to find any reference to a specific version of CommonMark that this project is attempting to comply with.
The text was updated successfully, but these errors were encountered: