aboutsummaryrefslogtreecommitdiff
path: root/changelog.txt
blob: 6537412b2f210be994374acecaada6ed44629735 (plain)
  1. [0.19]
  2.   * Fixed rules for `_`-based emphasis and strong emphasis (#317).
  3. Previously `_(bar)_.` was not parsed as containing emphasis
  4. because the closing delimiter is both left- and right- flanking.
  5. This fix allows such delimiters, provided they're followed
  6. by punctuation (i.e., they have punctuation on both sides).
  7. Similarly, mutatis mutandis, for opening delimiters and for `__`.
  8. * Clarified definitions of left-flanking and right-flanking (#310).
  9. The spec now says explicitly that the beginning and end of line count
  10. as whitespace for purposes of this definition.
  11. * Clarified that a code fence followed by header line isn't a header (#306).
  12. * Fixed alignment in flankingness examples (cosmetic).
  13. * Fixed last "right flanking but not left flanking" example (#316).
  14. * Fixed a broken link (Konstantin Zudov).
  15. * Added link to list of implementations on wiki.
  16. * Fixed mistake in examples of left/right flanking delimiters
  17. (Konstantin Zudov).
  18. * Spell out `iff` (if and only if) the first time it is used (#309).
  19. * Fixed typos (isoroku, #309).
  20. * Clarified wording for soft line break: newline can't be preceded
  21. by two spaces or a backslash.
  22. * Replaced some references to UTF-8 that should be to unicode.
  23. * Fixed dingus link in tools/template.html.
  24. * Replaced obsolete reference to `spec2md.pl` in spec (#304).
  25. [0.18]
  26. * Added a shortcut link test with mismatched brackets (#282).
  27. * Added cases with newline whitespace around emphasis open delimiter
  28. (#282).
  29. * Added list item examples with no space after marker (#282).
  30. * Added additional test showing backslash escapes don't work in
  31. autolinks (#282).
  32. * Added test for multiline title in reference definition (#282).
  33. * Added a reference link definition test case (#282).
  34. * Clarified that link titles can't contain blank lines (#271).
  35. * Revised Rule 3 for list items (#275). Previously this just applied to
  36. empty list items. It has been rewritten to apply to any list item
  37. starting with a blank line, including items like:
  38. -
  39. ```
  40. code
  41. ```
  42. * Added U+000B and U+000C as whitespace characters (#300).
  43. * Added comment on sourcepos attribute format in DTD (#298).
  44. * Use `--smart` option in producing HTML version of spec.
  45. * Clarified that delimiter runs at beginning/end of line behave as
  46. if preceded/followed by whitespace (#302).
  47. * Ensure that URLs in examples have slash after domain.
  48. This helps with #9, making these tests less sensitive to
  49. the normalizer used.
  50. * Fixed typo (Robin Stocker).
  51. [0.17]
  52. * Improved rule limiting intraword `_` for emphasis and strong emphasis.
  53. To prevent intra-word emphasis, we used to check to see if
  54. the delimiter was followed/preceded by an ASCII alphanumeric.
  55. We now do something more elegant: whereas an opening `*` must
  56. be left-flanking, an opening `_` must be left-flanking *and
  57. not right-flanking*. And so on for the other cases.
  58. All the original tests passed except some tests with Russian
  59. text with internal `_`, which formerly created emphasis but no
  60. longer do with the new rule. These tests have been adjusted.
  61. A few new test cases have been added to illustrate the rule.
  62. * Added example with link break inside pointy braces (no link) (#295).
  63. * Added spec example: loose list with blank line after fenced code (#285).
  64. [0.16]
  65. * Rewrote beginning of Entities section, clarifying that only
  66. entities not in code blocks or spans are decoded.
  67. * Removed defective Example 449 (#284).
  68. * Fixed typo (#283).
  69. * Added intended two-space hard-breaks in Examples 521, 523.
  70. * Clarified that brackets in general don't take precedence over emph
  71. (#258).
  72. * Clarified that final newline is removed from paragraph content
  73. (#176).
  74. * Talk of "info string" rather than "attributes" for code blocks
  75. (#262).
  76. * Clarified precedence of code spans, HTML tags, autolinks (#259).
  77. * Fixed a number of internal links and duplicate references in the spec.
  78. * Linkify "info string" in spec.
  79. * Use shortcut reference links when possible in spec.txt.
  80. * cmark itself is now used to build spec.html, rather than pandoc.
  81. * Use shortcut reference links when possible in spec.txt. This
  82. relies on the new `spec2md.py` behavior of creating references
  83. for all internal anchors.
  84. * Moved some examples from block to inline HTML section.
  85. * Added examples of non-comments (#264).
  86. * Changed rule for comments to conform to HTML5 spec.
  87. * Made clear that any sequence of characters is a valid document
  88. (#266).
  89. * Changed wording: "is preferred" -> "takes precedence."
  90. * Regularized spelling of "non-space character" and added links
  91. (#260).
  92. * Use four spaces rather than five to show "four spaces is too much"
  93. (#261).
  94. [0.15]
  95. * Fixed some typos with "left-" and "right-flanking" delimiters in the
  96. section on emphasis and strong emphasis (#257).
  97. [0.14]
  98. * Clarified indented code blocks. Previously the spec said, wrongly,
  99. that a blank line was needed between a paragraph and a following
  100. code block. It is only needed between a code block and a following
  101. paragraph (due to lazy continuations). (Thanks to textnut.)
  102. * Added definitions of whitespace, unicode whitespace, punctuation,
  103. ASCII punctuation (#108).
  104. * Improved rules for emphasis and strong emphasis. This improves
  105. parsing of emphasis around punctuation. For background see
  106. <http://talk.commonmark.org/t/903/6>. The basic idea of the change
  107. is that if the delimiter is part of a delimiter clump that has
  108. punctuation to the left and a normal character (non-space,
  109. non-punctuation) to the right, it can only be an opener. If it has
  110. punctuation to the right and a normal character (non-space,
  111. non-punctuation) to the left, it can only be a closer. This handles
  112. cases like
  113. **Gomphocarpus (*Gomphocarpus physocarpus*, syn. *Asclepias
  114. physocarpa*)**
  115. and
  116. **foo "*bar*" foo**
  117. better than before.
  118. * Added test case for link-in-link-in-image (#252).
  119. * Fixed broken internal references.
  120. * Added another example of an unclarity in the canonical Markdown
  121. syntax description.
  122. * Reworded the principle of uniformity to be more general; it applies
  123. to all container blocks, not just list items.
  124. * Added a rule for empty list items (#242).
  125. * Clarified precedence of empty list items over setext header lines
  126. (#95).
  127. * Added an example with two blank lines in fenced code in a sublist (#180).
  128. * Added an explicit CC-BY-SA license to the spec (#55).
  129. [0.13]
  130. * Updated path of test program.
  131. * Use terminology "plain textual content" instead of "string."
  132. * Added condition that conforming parsers strip or replace NULL characters.
  133. * Changed Example 196 to reflect the spec's rules. It should not be a loose
  134. list as it has no blank lines.
  135. * Adjusted semantically insignificant formatting of HTML output.
  136. * Added example to spec of shortcut link with following space (#214).