aboutsummaryrefslogtreecommitdiff
path: root/spec.txt
AgeCommit message (Collapse)Author
2014-11-27Renamed runtests.py -> spec_tests.py.John MacFarlane
2014-11-25Rename NODE_STRING -> NODE_TEXT.John MacFarlane
In JS, use 'Text' instead of 'Str'. In spec, use "plain textual content" instead of "strings."
2014-11-24Add sentence about U+0000 to specNick Wellnhofer
Fixes #212.
2014-11-22Changed Example 196 in spec to reflect the spec's rules.John MacFarlane
This has no blank lines and so should not be a loose list. See #209.
2014-11-22Adjusted formatting of test - CR btw `<li>` and `<hr />`.John MacFarlane
This is consistent with treatment of other block elements in list items.
2014-11-22Added example to spec of shortcut link with following space.John MacFarlane
See #214.
2014-11-20Reformatted some spec examples to match output of cmark.John MacFarlane
This way cmark passes tests with `--no-normalize`. See #161.
2014-11-18Added python version of test runner.John MacFarlane
This tests the dynamic library when run without a second argument. The code makes use of an amended version of the normalization method from karlcow/markdown-testsuite. Closes #161.
2014-11-10Version 0.12.John MacFarlane
2014-11-10Added a link.John MacFarlane
2014-11-10Allow images to contain images.John MacFarlane
2014-11-10Bump spec version to 0.11.John MacFarlane
2014-11-09Added clarification that hard breaks don't work at ends of blocks.John MacFarlane
Closes #191.
2014-11-09Spec: use terminology of "image description" rather than "alt text".John MacFarlane
"alt text" has to do with one possible rendering decision.
2014-11-09Fixed spec tests.John MacFarlane
2014-11-09Fixed 2 typos in spec tests.John MacFarlane
2014-11-09Updated spec for links.John MacFarlane
Still a work in progress.
2014-11-08Spec: better system for designating definitions of terms.John MacFarlane
`[foo](@foo)` turns into an anchor with id `foo` that links to itself and has class `definition`. This allows us to remove the manual `<a>` tags in `spec.txt`. A simple regex substitution in the Makefile handles the transformation. I believe this addresses some of the concerns in #141 by giving the definitions a prominent appearance. Note that we want definitions to link to themselves, to allow users to quickly generate a link to the relevant bit of the spec.
2014-11-06Bump version on spec to 0.10.John MacFarlane
2014-11-06Spec: use plain string content of label for alt text in images.John MacFarlane
So, `foo bar` rather than `foo *bar*` or `foo <em>bar</em>` or `foo &lt;em&gt;bar&lt;/em&gt;`.
2014-11-04Bump version on spec to 0.9.John MacFarlane
2014-11-04Rewrote emph/strong part of spec, with more systematic examples.John MacFarlane
2014-11-03Update spec version.John MacFarlane
2014-11-03Removed 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-28Update spec version.John MacFarlane
2014-10-28Clarified emph/strong rules.John MacFarlane
Make it clear that in `**foo **bar baz**` the shorter of the two potential strong emphasis spans (`bar baz`) is preferred.
2014-10-27Updated spec date/version.John MacFarlane
2014-10-26Require space before closing # sequence in ATX header.John MacFarlane
Closes #169.
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-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-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-24Spec: say explicitly that a character is a unicode code point.John MacFarlane
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-24Added test case with heading in list item.John MacFarlane
2014-10-24Fixed typo. Closes #110.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-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.