aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-09-09Move "Backslash escapes" and "Character references" to "Preliminaries."John MacFarlane
It was confusing having them in the "Inline" section, since they also affect some block contexts (e.g. reference link definitions). Closes #600.
2019-08-05Clarify that new blocks are added to *container* blocks. (#598)Jay Weisskopf
My first attempt at writing a parser added new blocks to the last matched block, regardless if it was a container or leaf. I think it would have helped me if it had explicitly said "container" here.
2019-06-05Clarify language for backtick code spans (#589)Johel Ernesto Guerrero Peña
"These" may be clearer than "the" in cases where code span contains internal strings of backticks.
2019-05-28Add documentation of the npm package to README.md.John MacFarlane
Thanks to Shawn Erquhart.
2019-05-15fix link text grouping sample (#584)Ashe Connor
From @johelegp at https://github.com/github/cmark-gfm/pull/157.
2019-04-30Fix misleading text for full reference link.John MacFarlane
There is no "first link label" here, just a link text. Closes #581.
2019-04-30Use better example to test unicode case fold for ref links.John MacFarlane
The earlier test could be passed by implementations that just uppercase. Fixes #582.
2019-04-28Fix tools/make_spec.lua so it properly handles cross-refs.John MacFarlane
Previously it broke in a few cases, e.g. with soft breaks. This fixes the issue described in #578.
2019-04-11Test new entity length constraints (#575)Miha Zupan
This now tests that an entity with 8 arabic digits is no longer recognised
2019-04-08make_spec.lua - use unsafe mode so HTML isn't filtered out.John MacFarlane
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)