summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-10-26Add EMPHASIS_STACK_LIMIT.John MacFarlane
If we get more than 1000 deep in potential emphasis/strong emphasis openers, we refuse to add more to the stack. This prevents the sort of stack overflow we previously got with python -c 'print "*a **a " * 100000; print " a** a*" * 100000' | ./cmark Partially addresses #166.
2014-10-26Tweaked the closing fence section added in last commit.John MacFarlane
2014-10-26Merge pull request #116 from Bengt/code_block_closing_fencesJohn MacFarlane
Add example from issue #94 about indented code block closing fences
2014-10-26Merge branch 'master' of https://github.com/till-varoquaux/stmd into ↵John MacFarlane
till-varoquaux-master Conflicts: Makefile
2014-10-25Adjusted appearance of dingus.John MacFarlane
2014-10-25Fixed update-site target.John MacFarlane
2014-10-25Wording change on tight/loose list example.John MacFarlane
See #91.
2014-10-25Added anchors for `tight` and `loose`.John MacFarlane
See #91.
2014-10-25Added hard-line-break anchor and links.John MacFarlane
See #91.
2014-10-25Fixed typo: code block -> HTML block.John MacFarlane
See #91.
2014-10-25Clarified mention of "lazy line" with link and further example.John MacFarlane
See #91.
2014-10-25Updated spec date/version.John MacFarlane
2014-10-25Spec: Resolve hrule/setext header ambiguity.John MacFarlane
Closes #31.
2014-10-25Spec: Clarify that a list can interrupt a paragraph.John MacFarlane
Include a discussion of the principle of uniformity that motivates this. Closes #26.
2014-10-25README tweaks (remove refs to stmd/), added benchmarks.John MacFarlane
2014-10-24Updated TODO.John MacFarlane
2014-10-24Spec version to 0.4.John MacFarlane
2014-10-24Spec: improved an example for hrules.John MacFarlane
Suggestion due to BrendanLong from http://talk.commonmark.org/t/example-16-is-potentially-confusing/114
2014-10-24Rename js/bin/markdown -> js/bin/commonmark.John MacFarlane
2014-10-24js/bin/markdown: added `--ast` flag and multiple filename args.John MacFarlane
2014-10-24Added .editorconfig.John MacFarlane
Thanks to @lipis. Closes #50. This may need tweaking.
2014-10-24Merge pull request #140 from arthur-peka/masterJohn MacFarlane
Changing some variable names to improve code readability
2014-10-24More stmd -> commonmark changes.John MacFarlane
2014-10-24Updated TODO.John MacFarlane
2014-10-24Renamed javascript implementation to commonmark.js.John MacFarlane
2014-10-24Renamed c program and library stmd -> cmark.John MacFarlane
Also renamed internal library functions accordingly.
2014-10-24Merge branch 'abduelhamit-master'John MacFarlane
2014-10-24Only define MIN if it's undefined.John MacFarlane
Note: it is defined in GNU libc (Linux) and FreeBSD and OSX sys/param.h.
2014-10-24Merge branch 'master' of https://github.com/abduelhamit/stmd into ↵John MacFarlane
abduelhamit-master
2014-10-24Spec: say explicitly that a character is a unicode code point.John MacFarlane
2014-10-24Add a newline to a line that doesn't end with one.John MacFarlane
Closes #115.
2014-10-24Spec: Added rule clarifying setext header content.John MacFarlane
Also several test cases. Closes #13.
2014-10-24Spec: altered processing instruction test.John MacFarlane
This catches the edge case described in #117.
2014-10-24Fixed regex for processing instruction.John MacFarlane
We now handle properly `<?php echo '>'; ?>`. Closes #117.
2014-10-24Merge branch 'tchetch-master'John MacFarlane
2014-10-24Merge branch 'master' of https://github.com/tchetch/stmd into tchetch-masterJohn MacFarlane
Conflicts: src/inlines.c
2014-10-24Use unsigned char, not char, throughout.John MacFarlane
Closes #43.
2014-10-24Added test case with heading in list item.John MacFarlane
2014-10-24Spec: Made background color for code spans work more consistently.John MacFarlane
Closes #162.
2014-10-24Fixed typo. Closes #110.John MacFarlane
2014-10-24README: Added note on protecting vs XSS attacks.John MacFarlane
Closes #61.
2014-10-24README: Fixed some javascript instructions.John MacFarlane
2014-10-24Tweaked CSS in spec template so inline code has background color.John MacFarlane
2014-10-24Update version and date on spec.John MacFarlane
Switch to an 0.x version number to indicate more clearly that this is provisional.
2014-10-24More tweaks on emph/strong spec and tests.John MacFarlane
2014-10-24Removed test case with only opening emph markers.John MacFarlane
It's not big enough to reveal stack problems.
2014-10-24Merge branch 'emphstack'John MacFarlane
Conflicts: Makefile js/lib/inlines.js
2014-10-24Added tricky recursive case for emph/strong.John MacFarlane
2014-10-24Revised spec for new emph/strong rules.John MacFarlane
These rules go with the new stack-based parser for emph/strong.
2014-10-24js: Removed memoization.John MacFarlane
It is no longer needed with the new stack-based emphasis parsing.