Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-11-22 | Fixed #214 C and JS implementations. | John MacFarlane | |
They were gobbling whitespace after shortcut reference links, e.g. [foo] bar [foo]: url Closes #214. | |||
2014-11-17 | Fix Issue 202 - Catch RangeError thrown by native String.fromCodePoint (js ↵ | Guillaume Crico | |
implementation) When using a JS engine that provides a native String.fromCodePoint ES6 implementation (e.g. SpiderMonkey), a RangeError is thrown if the codepoint is invalid. When adding the from-code-point.js polyfill, the js implementation was modified in order to handle invalid code point by returning the 0xFFFD placeholder glyph. So this is not a real "polyfill", but an specific implementation (adapted to the parser needs). So, if a native String.fromCodePoint implementation is availbale, the fromCodePoint function should catch the RangeError and return the 0xFFFD placeholder glyph. | |||
2014-11-10 | Allow images to contain images. | John MacFarlane | |
2014-11-10 | jshint improvements. | John MacFarlane | |
2014-11-10 | Stack-based link handling in js. All tests pass. | John MacFarlane | |
2014-11-09 | Rewrote parseLink in js consistent with the C and spec. | John MacFarlane | |
2014-11-09 | Added processEmphasis, run at end of parseInlines. | John MacFarlane | |
2014-11-09 | Changed parseEmphasis to just put things on stack. | John MacFarlane | |
2014-11-06 | Updated js writer to render plain text for alt attributes of images. | John MacFarlane | |
2014-11-03 | Removed artificial rule for emph/strong markers. | John MacFarlane | |
Previously there was a rule that nothing in a string of more than 3 `*` or `_` characters could close or start emphasis. This was artifical and led to strange asymmetries, e.g. you could have `*a *b**` emph within emph but not `**a **b****` strong within strong. The new parsing strategy makes it easy to remove this limitation. Spec, js, and c implementations have been updated. Spec might need some further grooming. | |||
2014-10-30 | js/lib/blocks: Made matchAt return -1 instead of null on no match. | John MacFarlane | |
2014-10-26 | Require space before closing # sequence in ATX header. | John MacFarlane | |
Closes #169. | |||
2014-10-24 | More stmd -> commonmark changes. | John MacFarlane | |
2014-10-24 | js: Removed memoization. | John MacFarlane | |
It is no longer needed with the new stack-based emphasis parsing. | |||
2014-10-24 | js: Use linked list instead of array for emphasis_openers stack. | John MacFarlane | |
2014-10-24 | js: renamed emph_stack -> emphasis_openers. | John MacFarlane | |
2014-10-23 | inlines.js: Implemented stack-based emph parsing. | John MacFarlane | |
2014-10-18 | Added renderAST to js, added AST render tab to dingus. | John MacFarlane | |
Modified processInlines so it creates new objects instead of modifying in place. This way we can remove the extraneous fields only needed for parsing. | |||
2014-10-18 | Add unescapeString as method of InlineParser. | John MacFarlane | |
2014-10-18 | Factored out blocks.js from index.js. | John MacFarlane | |
2014-10-18 | Factored out inlines.js from index.js. | John MacFarlane | |
2014-10-18 | Change from-code-point.js so it doesn't alter String prototype. | John MacFarlane | |
2014-10-18 | Use browserify to make js code more modular. | John MacFarlane | |
* Moved js library code to `js/lib`. * `js/stmd.js` is now generated from these files using browserify. * Factored out `html5-entities.js` and `from-code-point.js` from main js parsing code (which is now `index.js`). * Moved `js/markdown` to `js/bin`. |