aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-04-08Adopt make_spec.lua for lua 5.3 and new number type.John MacFarlane
So we don't get `<h2.0>`.
2019-04-08Update version in package.jsonJohn MacFarlane
2019-04-07Update changelog.John MacFarlane
2019-04-07Added backslash escape + char entity case.John MacFarlane
2019-04-06Bump to 0.29.John MacFarlane
2019-04-06Specify dropping of initial/final whitespace in setext heading content.John MacFarlane
Closes #461.
2019-04-06Removed redundant condition.John MacFarlane
We don't need to specify that the absolute URI in an autolink doesn't contain `<`, since this is specified in the description of an absolute URI.
2019-04-06Added example with a ref link defn where the reference is never used.John MacFarlane
Closes #454.
2019-04-06Example with setext header after reference link defs.John MacFarlane
Closes #395.
2019-04-06Clarify that entities can't be used to indicate structure.John MacFarlane
For example, you can't use `&#42;` instead of `*` for a bullet list, or `&#10;` to create a new paragraph. Closes #474.
2019-04-06Added additional spec examples involving link destinations in `<>`.John MacFarlane
Closes #473.
2019-04-04Adjust another test case for change to spaces in code span.John MacFarlane
2019-04-04Don't strip spaces in code span containing only spaces.John MacFarlane
This allows one to include a code span with just spaces, using the most obvious syntax. Fixes #569.
2019-04-04Capitalize GitHubJohn MacFarlane
2019-04-03Add example w/ reference link w/ empty destination in `<>`.John MacFarlane
Closes #172.
2019-03-26Fix spec example in light of recent change to link destination.John MacFarlane
2019-03-25Disallow link destination beginning with `<` unless it is inside `<..>`.John MacFarlane
This brings the description in line with the spec example: ``` [foo]: <bar>(baz) [foo] . <p>[foo]: <bar>(baz)</p> <p>[foo]</p> ``` Closes #538.
2019-03-25Clarify that script, pre, style close tags can begin an HTML block.John MacFarlane
Closes #517.
2019-03-23codepoints for punctuation characters (#564)Christoph Päper
2019-03-23Fix typo in spec (#551)Grahame Grieve
Change "If none in found" to "If none is found"
2019-03-23fix typo in spec (#556)tnaia
2019-03-23Match interior delimiter runs if lengths of both are multiples of 3.John MacFarlane
This gives better results on `a***b***c` without giving bad results on the cases that motivated the original multiple of 3 rule. Closes #528.
2019-03-20Rephrase example #111 to indicate that the rendering is not mandated.John MacFarlane
Closes #568.
2019-03-20Update README.md (#540)Christoph Päper
two empty lines no longer end any list context (unfortunately)
2019-03-19Fix typo in fix to #562.John MacFarlane
2019-03-19Add test for [test](<url\>). Closes #562.John MacFarlane
2019-03-17Disallow unescaped `(` in parenthesized link titles.John MacFarlane
Closes #526.
2019-03-17Improve documentation of openers_stack.John MacFarlane
Closes #563.
2019-03-17Improve documentation of parsing strategy.John MacFarlane
Note that `openers_bottom` needs to be indexed to delimiter run lengths as well as types. Closes #563.
2018-11-25Removed vestigial restriction in list item spec.John MacFarlane
The "not separated by more than one blank line" was a left-over from an earlier version of the spec in which two blank lines ended a list. Closes #543.
2018-10-04Clarify tlides and backticks in info strings.John MacFarlane
We disallow backticks in info strings after backtick fences only. Both backticks and tildes are allowed in info strings after tilde fences. Added example. Closes #119.
2018-10-04make_spec.lua: fix migration of children nodes in create_anchors (#536)Zhiming Wang
* make_spec.lua: rename children to child Naming a variable "children" when it holds one child is confusing, and blocks naming actual children. * make_spec.lua: fix migration of children nodes in create_anchors Prior to this commit, when migrating the children of a node to a new one, children are moved as they are iterated via `cmark_node_next`; however, when a child is moved under the new node, its next relationship with its sibling is broken, so in fact at most one child is migrated, and the rest are lost. This resulted in cases like [Decimal numeric character references](@) consist of... (note the softbreak) being eventually rendered as <a ...>Decimal numeric character</a> consist of...
2018-10-01Fix dingus link when double clicking Markdown code (#535)Zhiming Wang
Prior to this commit, the link opened is always `/dingus/?text=` (no text), because `$(this)` is `code.language-markdown`, so `.find`ing `code` in its descendants turns up nothing.
2018-09-09Fixed test case for #469.John MacFarlane
2018-09-09Example showing need for space before title in reference link.John MacFarlane
Closes #469.
2018-09-09Clarify the left- and right-flanking definitions (#534)Jay Martin
* Clarify the left- and right-flanking definitions A few more words make the definitions easier to understand, without changing the meaning. Links to the current definitions: - [left-flanking delimiter run](https://github.github.com/gfm/#left-flanking-delimiter-run) - [right-flanking delimiter run](https://github.github.com/gfm/#right-flanking-delimiter-run) * Change numbering to 1, 2a and 2b 1, 2a and 2b is more conventional than a, b1 and b2, which I suggested earlier.
2018-08-27typo fix: occuring -> occurring (#533)nikolas
2018-08-26Simplified revisions to code span normalization rules.John MacFarlane
Removed the complex rule about ignoring newlines adjacent to spaces. Now newlines are simply converted to spaces.
2018-08-25Code spans: don't collapse interior space.John MacFarlane
Closes #532.
2018-08-13update references to container and leaf block headers to use the correct ↵Elijah Hamovitz
pluralization (#531)
2018-06-11Remove `meta` from list of block tags...John MacFarlane
...in start condition #6 of HTML blocks. meta tags are used in some inline contexts (though this isn't valid HTML5), e.g. in schema.org. Example: ``` This paragraph is closed right after an opening span: <span itemprop="contentLocation" itemscope itemtype="https://schema.org/City"> <meta itemprop="name" content="Springfield"> <span itemprop="address" itemscope itemtype="https://schema.org/PostalAddress"> <meta itemprop="addressCountry" content="US"> <span itemprop="addressLocality">Springfield</span>, <span itemprop="addressRegion">Oregon</span> <meta itemprop="postalCode" content="97477"> </span> </span> ``` Closes #527.
2018-03-25Fixed typo in recent spec change for spaces in link dest.John MacFarlane
2018-03-25Fix mistake introduced in recent change to entity test case.John MacFarlane
2018-03-25Moved the case added in #509.John MacFarlane
2018-03-25Add another test case for emphasis (#509)Michael Howell
Based on https://talk.commonmark.org/t/suggestion-of-a-new-example-to-be-put-on-the-specs/2646
2018-03-25Replace image 'url' with 'destination' (#512)Phill
2018-03-25Added some links for occurences of "above."John MacFarlane
Closes #480.
2018-03-25Limit numerical entities to 6 hex or 7 decimal digits.John MacFarlane
This is all that is needed given the upper bound on unicode code points. Closes commonmark/CommonMark#487.
2018-03-25Allow spaces inside link destinations in pointy brackets.John MacFarlane
This reverts a change in 0.24 and should make things easier for people working with image paths containing spaces. Closes #503.
2018-03-24Fix tests where list items are indented 4+ spaces.John MacFarlane
The tests did not accord with the spec here; these lines should be continuation lines (if no blank space) or indented code blocks (if blank space). Closes #497.