Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-09-11 | Reindented source with js2-mode. | John MacFarlane | |
2014-09-11 | Clarified code logic for last_emphasis_closer. | John MacFarlane | |
2014-09-11 | Add check for null in last_emphasis_closer. | John MacFarlane | |
2014-09-11 | Renamed last_closer -> last_emphasis_closer. | John MacFarlane | |
2014-09-11 | Added last_closer to Inline object. | John MacFarlane | |
This helps us avoid unneeded backtracking in pathological input of the form: *a **a *a **a *a etc. If we get to position k without finding a closing delimiter, then backtrack to 1, we can assume we won't find a closing delimiter when parsing forward again. This could no doubt be polished up, e.g. by making it sensitive to the kind of delimiter. | |||
2014-09-11 | Fixed bug. | John MacFarlane | |
2014-09-11 | Special-case ***xx*** as strong/em. | John MacFarlane | |
2014-09-11 | Simplified parseEmphasis. | John MacFarlane | |
2014-09-11 | Handle case with 4+ delimiters in a row. | John MacFarlane | |
Spec says to skip these. | |||
2014-09-11 | Fixed reMain regex for better performance. | John MacFarlane | |
2014-09-11 | Fixed rewind on parseLabel. | John MacFarlane | |
14 test failures now, all with emphasis. IN most of all of these cases, the examples in the spec seem to be mistakes, given what the spec says. More troubling, performance is down from around 220 to 83. This needs investigation. | |||
2014-09-11 | Completed conversion to memoized strategy. | John MacFarlane | |
Test suite runs, but many failures. | |||
2014-09-11 | Cleanup. | John MacFarlane | |
2014-09-11 | Did parseAutolink. | John MacFarlane | |
2014-09-11 | Did parseHtmLTag. | John MacFarlane | |
2014-09-11 | Did parseEntity. | John MacFarlane | |
2014-09-11 | Did parseBackticks. | John MacFarlane | |
2014-09-11 | Finished parseEmphasis. | John MacFarlane | |
This seems to work properly. We now get proper results for `***hi**`. | |||
2014-09-11 | parseEmphasis: added Strong and shell for triples. | John MacFarlane | |
2014-09-11 | Shell of parseEmphasis. | John MacFarlane | |
2014-09-11 | Did parseBackslash (used to be parseEscaped). | John MacFarlane | |
2014-09-11 | New strategy: did parseNewlines, parseString. | John MacFarlane | |
2014-09-11 | stmd.js: Added memoization of inline parsing. | John MacFarlane | |
2014-09-07 | Fixed #48. | John MacFarlane | |
- Fixed js and C code. - Added two test cases to spec. | |||
2014-09-07 | Partially address #48 in js parser. | John MacFarlane | |
TODO: C parser, add test case to spec. | |||
2014-09-07 | Fixed comment. | John MacFarlane | |
2014-09-06 | Spec, js, C: Added iframe to block-level HTML tags. | John MacFarlane | |
Closes #88. | |||
2014-09-06 | Don't treat "br" as a block-level HTML tag. | John MacFarlane | |
Fixed in spec and both implementations. Closes #67. | |||
2014-09-06 | stmd.js: Added another regex anchor, in reMain. | John MacFarlane | |
2014-09-06 | Added anchor to linkDestination regexes. | John MacFarlane | |
Closes #62. | |||
2014-09-06 | Adjusted HTML output for fenced code to match #71 change. | John MacFarlane | |
2014-09-06 | Merge pull request #77 from Steve-Fenton/patch-1 | John MacFarlane | |
Minor fixes to stmd.js (non messed-up version) | |||
2014-09-06 | replace Standard Markdown with CommonMark | Pablo RodrÃguez | |
2014-09-05 | Update stmd.js | Steve Fenton | |
2014-09-05 | Minor fixes - non messed-up version! | Steve Fenton | |
A few undeclared variables - no big deal there. One use of block_end_line where block.end_line was meant (I believe). Also - query as to whether the new keyword is needed when calling InlineParser as the function returns an object, so we're not dealing with an instance of InlineParser (I haven't changed this, just a query). | |||
2014-09-03 | stmd.js: Fixed ATX header parser bug. | John MacFarlane | |
Don't count an escaped # at the end as a closing string of #s. Closes #16. | |||
2014-08-29 | Removed trailing commas in JavaScript objects | s9e | |
2014-08-13 | Initial commit | John MacFarlane | |