summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-09-11Updated test cases in spec to reflect last change.John MacFarlane
2014-09-11Updated spec (but not yet examples) with new rules.John MacFarlane
These reflect the current parsing algorithm. We now get a symmetry that we lacked before: **a* b* *a *b** are both emphasis within emphasis. One asymmetry remains: **a* has no emphasis, while *a** has emphasis. Further tweaking of the algorithm could regularize this.
2014-09-11Special-case ***xx*** as strong/em.John MacFarlane
2014-09-11Revert "spec: change nesting order of strong/emph in ***a***."John MacFarlane
This reverts commit 49a03b7666e2901d1ab2813fc0bdd23968d22979.
2014-09-11spec: change nesting order of strong/emph in ***a***.John MacFarlane
2014-09-11Simplified parseEmphasis.John MacFarlane
2014-09-11Handle case with 4+ delimiters in a row.John MacFarlane
Spec says to skip these.
2014-09-11Fixed reMain regex for better performance.John MacFarlane
2014-09-11Fixed 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-11Completed conversion to memoized strategy.John MacFarlane
Test suite runs, but many failures.
2014-09-11Cleanup.John MacFarlane
2014-09-11Did parseAutolink.John MacFarlane
2014-09-11Did parseHtmLTag.John MacFarlane
2014-09-11Did parseEntity.John MacFarlane
2014-09-11Did parseBackticks.John MacFarlane
2014-09-11Finished parseEmphasis.John MacFarlane
This seems to work properly. We now get proper results for `***hi**`.
2014-09-11parseEmphasis: added Strong and shell for triples.John MacFarlane
2014-09-11Shell of parseEmphasis.John MacFarlane
2014-09-11Did parseBackslash (used to be parseEscaped).John MacFarlane
2014-09-11New strategy: did parseNewlines, parseString.John MacFarlane
2014-09-11stmd.js: Added memoization of inline parsing.John MacFarlane
2014-09-11Merge branch 'master' of https://github.com/ArtyomKazak/stmdJohn MacFarlane
2014-09-11Fix another broken link.Artyom Kazak
2014-09-11Fix a broken link to the “A parsing strategy” section.Artyom Kazak
(Line lengths changed so that the link wouldn't have to be broken.)
2014-09-10Handle overflows in the codepoint parserVicent Marti
2014-09-10Do not create references with empty namesVicent Marti
2014-09-10Do not use strchr for span searchesVicent Marti
Strchr will return a valid pointer for '\0' when searching a static string, as the NULL byte is part of the string.
2014-09-10Improve invalid UTF8 codepoint skippingVicent Marti
2014-09-10Fix infinite loop when case folding invalid UTF8 charsVicent Marti
2014-09-10Fix misc bugsVicent Marti
2014-09-10Remove old hash tableVicent Marti
2014-09-10Cleanup reference implementationVicent Marti
2014-09-10Moved removal of `\r` into `tidy()`Kārlis Gaņģis
2014-09-09Dingus: use bind('keyup paste cut mouseup'...John MacFarlane
Modifies #98. (Generic 'change' by itself wasn't enough.)
2014-09-09Use generic 'change' to trigger parseAndRender.John MacFarlane
Modifies #98.
2014-09-09Merge pull request #100 from ArtyomKazak/masterJohn MacFarlane
Info string changes the `class` attribute of the `code` tag, not `pre`.
2014-09-09`code`, not `pre`.Artyom Kazak
2014-09-09Update the spec with better entity handlingVicent Marti
2014-09-09OopsVicent Marti
2014-09-09Fix the class attribute for code fencesVicent Marti
2014-09-09Abstract the Block unionVicent Marti
2014-09-09This is going wellVicent Marti
2014-09-09Entity declarationsVicent Marti
2014-09-09UTF8-aware detabbing and entity handlingVicent Marti
2014-09-09Silly meVicent Marti
2014-09-09This spec was correctVicent Marti
2014-09-09Remove warningsVicent Marti
2014-09-09FormattingVicent Marti
2014-09-09Rename block literalsVicent Marti
2014-09-09Rename node_blockVicent Marti