blob: da1a56fb4b925fcb24c06dc2292c162cf5d6d634 [file] [view]
## 0.10.2-dev
* Parse HTML blocks more accurately, according to
[CommonMark](http://spec.commonmark.org/0.24/#html-blocks).
* Support [shortcut reference
links](http://spec.commonmark.org/0.24/#reference-link).
* Don't allow an indented code block to interrupt a paragraph.
* There are now 463/613 (76%) passing CommonMark v0.24 specs.
## 0.10.1
* Parse [hard line breaks](http://spec.commonmark.org/0.24/#hard-line-breaks)
properly (#86). Thanks @mehaase!
* Fix processing of `[ ... ]` syntax when no resolver is specified (#92).
* There are now 401/613 (65%) passing CommonMark v0.24 specs.
## 0.10.0
* BREAKING: Now following the CommonMark spec for fenced code blocks.
If a language (info string) is provided, it is added as a class to the `code`
element with a `language-` prefix.
* BREAKING: Now following the CommonMark spec for images. Previously,
`![text](img.png)` would compile too
`<a href="img.prg"><img src="img.prg" alt="text"></img></a>`. That same code
will now compile to `<img src="img.png" alt="text" />`.
* Fix all [strong mode][] errors.
[strong mode]: https://github.com/dart-lang/dev_compiler/blob/master/STRONG_MODE.md
## 0.9.0
* BREAKING: The text `[foo] (bar)` no longer renders as an inline link (#53).
* BREAKING: Change list parsing to allow lists to begin immediately after a
preceding block element, without a blank line in between.
* Formalize an API for Markdown extensions (#43).
* Introduce ExtensionSets. FencedCodeBlock is considered an extension, but
existing usage of `markdownToHtml()` and `new Document()` will use the
default extension set, which is `ExtensionSet.commonMark`, which includes
FencedCodeBlock.
* Inline HTML syntax support; This is also considered an extension (#18).
* The text `[foo]()` now renders as an inline link.
* Whitespace now allowed between a link's destination and title (#65).
* Header identifier support in the HeaderWithIdSyntax and
SetextHeaderWithIdSyntax extensions.
* Implement backslash-escaping so that Markdown syntax can be escaped, such as
`[foo]\(bar) ==> <p>[foo](bar)</p>`.
* Support for hard line breaks with either `\\\n` or <code> \n</code> (#30,
#60).
* New public method for BlockParser: `peek(int linesAhead)`, meant for use in
subclasses.
* New public members for ListSyntax: `blocksInList` and `determineBlockItems()`,
meant for use in subclasses.
* Improve public docs (better, and more of them).
## 0.8.0
* **Breaking:** Remove (probably unused) fields: `LinkSyntax.resolved`,
`InlineParser.currentSource`.
* Switch tests to use [test][] instead of [unittest][].
* Fix a few bugs in inline code syntax.
* Ignore underscores inside words (#41).
[test]: https://pub.dartlang.org/packages/test
[unittest]: https://pub.dartlang.org/packages/unittest
## 0.7.2
* Allow resolving links that contain inline syntax (#42).
## 0.7.1+3
* Updated homepage.
## 0.7.1+2
* Formatted code.
* Updated readme.