aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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.
2018-03-06Update README.md (#523)Christoph Päper
two empty lines no longer end any list context (unfortunately)
2018-01-01Fix a typo in spec.txt (#514)Kenta Sato (佐藤 建太)
2017-11-16Remove one word from readme. (#508)Kare Morstol
2017-11-05Info string is trimmed of all whitespace (#505)Ashe Connor
* Info string is trimmed of all whitespace As noted in https://github.com/github/cmark/issues/60, the info string is not only trimmed of "spaces" (U+0020) but indeed all whitespace. Update the spec to reflect this. * "spaces" => "spaces or tabs" after thematic breaks
2017-11-05disallow newlines inside of unquoted attrubtes (#507)Urabe, Shyouhei
as per HTML spec. cf: https://html.spec.whatwg.org/multipage/syntax.html#unquoted
2017-10-05Create .gitattributes so that changelog.txt is highlighted as markdown (#499)Christoph Päper