Breaking Changes
- Drop support for Node v0.10 and old browsers such as Internet Explorer
- You should not have any problems if using Node 4+ or a modern browser
- Add parameter
slugger
toRenderer.prototype.heading
method #1401- You should not have any problems if you do not override this method
New Features
- Add new export
marked.Slugger
#1401
Fixes
- Fix emphasis followed by a punctuation #1383
- Fix bold around autolink email address #1385
- Make autolinks case insensitive #1384
- Make code fences compliant with Commonmark spec #1387
- Make blockquote paragraph continuation compliant with Commonmark spec #1394
- Make ordered list marker length compliant with Commonmark spec #1391
- Make empty list items compliant with Commonmark spec #1395
- Make tag escaping compliant with Commonmark spec #1397
- Make strong/bold compliant with Commonmark spec #1400
- Fix handling of adjacent lists #684
- Add better error handling when token type cannot be found #1005
- Fix duplicate heading id and non-latin characters #1401
CLI
Docs
- Fix
breaks
option description #1381 - Update docs to include "Since" version #1382
- Add defibrillator badge for @mccraveiro #1392
Tests
- Remove old test covered by gfm/cm #1389