-
-
Notifications
You must be signed in to change notification settings - Fork 279
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
Add an option to support CommonMark or support it by default #197
Comments
kramdown is not commonmark. If you want a Ruby parser for CommonMark, write a parser for the kramdown library or write a standalone library. |
Sure, if I wanted a strict CommonMark parser I wouldn't be using Kramdown. What I recommend is a gradual move towards CommonMark syntax, starting from the edge cases. Libraries that don't make this move are more likely to die in the long run. E.g.: if GitHub pages started supporting a CommonMark compiler I'd switch to it, which is the reason why I currently use Kramdown. Of course, maybe it's not worth making that move from where Kramdown stands today given other implementations. |
At the very least, having a CommonMark flavored markdown option might not be a bad idea... |
For anyone using GitHub Pages, you can simply add this to
you dont even have to declare the plugin in http://github.com/github/pages-gem/blob/fb5c3f2/lib/github-pages/plugins.rb#L9 reference: http://github.com/github/jekyll-commonmark-ghpages |
You can check incompatibilities with:
The problem is that now their normalization is broken so too many tests fail, so I'll keep a list of actual discrepancies here until the normalization gets fixed:
U+FFFD
https://github.com/jgm/CommonMark/blob/b28c97c9b8af266d4f12deb5febcf28807d9f5c6/spec.txt#L4080The text was updated successfully, but these errors were encountered: