aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
2017-09-24Merge pull request #498 from mortenpi/fix-gh-linksJohn MacFarlane
Update GitHub links
2017-09-24Update GitHub linksMorten Piibeleht
It appears that the repositories have been moved to a GitHub organization. This fixes the links to CommonMark, cmark and commonmark.js repositories.
2017-08-16Merge pull request #489 from mpacer/json_makeJohn MacFarlane
Add spec.json generator to Makefile
2017-08-15Add spec.json generator to MakefileM Pacer
2017-08-02More tweaks to release checklist.John MacFarlane
2017-08-02Minor tweaks to release checklist.John MacFarlane
2017-08-02Update version on package.json.John MacFarlane
2017-08-01Removed superfluous whitespace.John MacFarlane
2017-08-01Update changelog.John MacFarlane
2017-08-01Merge branch 'master' of github.com:jgm/CommonMarkJohn MacFarlane
2017-08-01Merge pull request #459 from kivikakk/html-block-clarificationJohn MacFarlane
Clarify HTML blocks re: "nested" blocks
2017-08-01Further clarifications of link labels.John MacFarlane
Say explicitly that normalization involves stripping off leading and trailing bracket characters, before stripping leading and trailing whitespace. See #479.
2017-08-01Merge branch 'master' of github.com:jgm/CommonMarkJohn MacFarlane
2017-08-01Merge pull request #479 from mgeier/strip-whitespace-from-link-labelsJohn MacFarlane
Mention removing surrounding whitespace from link labels
2017-08-01Update changelog.John MacFarlane
2017-08-01Merge pull request #457 from aidantwoods/patch-1John MacFarlane
Clarify precedence of thematic break
2017-08-01Update spec.txtJohn MacFarlane