Age | Commit message (Collapse) | Author | |
---|---|---|---|
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-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-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 | Add unescapeString as method of InlineParser. | John MacFarlane | |
2014-10-18 | Factored out inlines.js from index.js. | John MacFarlane | |