Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

3.8KB

CHANGELOG

Version 1.1.2 work in progress

Version 1.1.1 work in progress

  • #112 Fixed parsing for custom self-closing HTML tags
  • #113 improve extensibility by making prepareMarkers() protected and add parseBlock() method
  • #114 better handling of continued inline HTML in paragraphs

Version 1.1.0 on 06. Mar. 2015

  • improve compatibility with github flavored markdown
  • #64 fixed some rendering issue with emph and strong
  • #56 trailing and leading spaces in a link are now ignored
  • fixed various issues with table rendering
  • #98 Fix PHP fatal error when maximumNestingLevel was reached (@tanakahisateru)
  • refactored nested and lazy list handling, improved overall list rendering consistency
  • Lines containing “0” where skipped or considered empty in some cases (@tanakahisateru)
  • #54 escape characters are now also considered inside of urls

Version 1.0.1 on 25. Okt. 2014

  • Fixed the bin/markdown script to work with composer autoloader (c497bada0e)
  • #74 fixed a bug that caused a bunch of broken characters when non-ASCII input was given. Parser now handles UTF-8 input correctly. Other encodings are currently untested, UTF-8 is recommended.

Version 1.0.0 on 12. Okt. 2014

This is the first stable release of version 1.0 which is incompatible to the 0.9.x branch regarding the internal API which is used when extending the Markdown parser. The external API has no breaking changes. The rendered Markdown however has changed in some edge cases and some rendering issues have been fixed.

The parser got a bit slower compared to earlier versions but is able to parse Markdown more accurately and uses an abstract syntax tree as the internal representation of the parsed text which allows extensions to work with the parsed Markdown in many ways including rendering as other formats than HTML.

For more details about the changes see the release message of 1.0.0-rc.

You can try it out on the website: http://markdown.cebe.cc/try

The parser is now also regsitered on the Babelmark 2 page by John MacFarlane which you can use to compare Markdown output of different parsers.

Version 1.0.0-rc on 10. Okt. 2014

  • #21 speed up inline parsing using strpbrk about 20% speedup compared to parsing before.
  • #24 CLI script now sends all error output to stderr instead of stdout
  • #25 Added partial support for the Markdown Extra flavor
  • #10 GithubMarkdown is now fully supported including tables
  • #67 All Markdown classes are now composed out of php traits
  • #67 The way to extend markdown has changed due to the introduction of an abstract syntax tree. See dd2d0faa71 for how it changes or read the new README.
  • Introduced an abstract syntax tree as an intermediate representation between parsing steps. This not only fixes some issues with nested block elements but also allows manipulation of the markdown before rendering.
  • This version also fixes serveral rendering issues.

Version 0.9.2 on 18. Feb. 2014

  • #27 Fixed some rendering problems with block elements not separated by newlines

Version 0.9.1 on 18. Feb. 2014

Fixed an issue with inline markers that begin with the same character e.g. [ and [[.

Version 0.9.0 on 18. Feb. 2014

The initial release.

  • Complete implementation of the original Markdown spec
  • GFM without tables
  • a command line tool for markdown parsing