Bump to 2.0.0 (dart-lang/markdown#219)
diff --git a/pkgs/markdown/CHANGELOG.md b/pkgs/markdown/CHANGELOG.md index d1eaab8..bf5c241 100644 --- a/pkgs/markdown/CHANGELOG.md +++ b/pkgs/markdown/CHANGELOG.md
@@ -1,4 +1,4 @@ -## 2.0.0-dev +## 2.0.0 * **Breaking change:** The `Link` class has been renamed `LinkReference`, and the `Document` field, `refLinks`, has been renamed `linkReferences`. @@ -14,6 +14,9 @@ [GFM spec][strikethrough]. * The above fixes raise compliance with the CommonMark specs to 93%, and compliance with the GFM specs to 92%. +* Add an `encodeHtml` parameter to `Document`, which defaults to true. When + false, HTML entities (such as `©` and the `<` character) will not be + escaped, useful when rendering Markdown in some output format other than HTML. * Allow the binary script to take a `--extension-set` option. A reminder: You can [run `bin/markdown.dart` from anywhere][pub-global] via:
diff --git a/pkgs/markdown/lib/src/version.dart b/pkgs/markdown/lib/src/version.dart index f3d0d97..db17d9f 100644 --- a/pkgs/markdown/lib/src/version.dart +++ b/pkgs/markdown/lib/src/version.dart
@@ -1,2 +1,2 @@ /// The current version of markdown. -final String version = '2.0.0-dev'; +final String version = '2.0.0';
diff --git a/pkgs/markdown/pubspec.yaml b/pkgs/markdown/pubspec.yaml index 05da83a..4ffb7db 100644 --- a/pkgs/markdown/pubspec.yaml +++ b/pkgs/markdown/pubspec.yaml
@@ -1,5 +1,5 @@ name: markdown -version: 2.0.0-dev +version: 2.0.0 author: Dart Team <misc@dartlang.org> description: A library for converting markdown to HTML. homepage: https://github.com/dart-lang/markdown