Skip to content
This repository was archived by the owner on Feb 24, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 10 additions & 9 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,22 @@

* **Breaking change**: `close()` of `DelimiterSyntax` and `LinkSyntax`
returns multiple nodes instead of single one.

## 6.0.2-dev

* Fix a crash in checkbox lists when mixing checkbox items with
non-checkbox items.
* Add a new syntax `BlockHtmlSyntax` to parse HTML blocks.
* **Breaking change**: Remove deprecated APIs, including `TagSyntax`,
`indicatorForCheckedCheckBox`, and `indicatorForUncheckedCheckBox`.
* **Breaking change**: Removed `BlockHtmlSyntax`, `BlockTagBlockHtmlSyntax`,
`LongBlockHtmlSyntax`, and `OtherTagBlockHtmlSyntax`.
* Add a new syntax `HtmlBlockSyntax` to parse HTML blocks.
* Add a new syntax `DecodeHtmlSyntax` to decode HTML entity and numeric
character references.
* Add a new syntax `SoftLineBreakSyntax` to remove the single space before the
line ending.
* Deprecate `BlockTagBlockHtmlSyntax`, `LongBlockHtmlSyntax` and
`OtherTagBlockHtmlSyntax`. These syntaxes will be removed from the next major
version.
* Add an option `caseSensitive` to `TextSyntax`.

## 6.0.1

* Fix a crash in checkbox lists when mixing checkbox items with
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This got all messed up. Tried to fix...

non-checkbox items.

## 6.0.0

* Require Dart 2.17
Expand Down
3 changes: 1 addition & 2 deletions lib/markdown.dart
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ import 'src/version.dart';

export 'src/ast.dart';
export 'src/block_parser.dart';
export 'src/block_syntaxes/block_html_syntax.dart';
export 'src/block_syntaxes/block_syntax.dart';
export 'src/block_syntaxes/blockquote_syntax.dart';
export 'src/block_syntaxes/code_block_syntax.dart';
Expand Down Expand Up @@ -68,6 +67,7 @@ export 'src/inline_syntaxes/autolink_extension_syntax.dart';
export 'src/inline_syntaxes/autolink_syntax.dart';
export 'src/inline_syntaxes/code_syntax.dart';
export 'src/inline_syntaxes/color_swatch_syntax.dart';
export 'src/inline_syntaxes/decode_html_syntax.dart';
export 'src/inline_syntaxes/delimiter_syntax.dart';
export 'src/inline_syntaxes/email_autolink_syntax.dart';
export 'src/inline_syntaxes/emoji_syntax.dart';
Expand All @@ -80,7 +80,6 @@ export 'src/inline_syntaxes/line_break_syntax.dart';
export 'src/inline_syntaxes/link_syntax.dart';
export 'src/inline_syntaxes/soft_line_break_syntax.dart';
export 'src/inline_syntaxes/strikethrough_syntax.dart';
export 'src/inline_syntaxes/tag_syntax.dart';
export 'src/inline_syntaxes/text_syntax.dart';

const version = packageVersion;
19 changes: 0 additions & 19 deletions lib/src/block_syntaxes/block_html_syntax.dart

This file was deleted.

50 changes: 0 additions & 50 deletions lib/src/block_syntaxes/block_tag_block_html_syntax.dart

This file was deleted.

12 changes: 0 additions & 12 deletions lib/src/block_syntaxes/list_syntax.dart
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,6 @@ import 'block_syntax.dart';
import 'ordered_list_with_checkbox_syntax.dart';
import 'unordered_list_with_checkbox_syntax.dart';

/// As of Markdown 6.0.1 invisible indicators for checked/unchecked checkboxes are
/// no longer used. These constants are now empty strings to reflect that.
@Deprecated(
'This string is no longer used internally. It will be removed in a future version.')
const indicatorForUncheckedCheckBox = '';

/// As of Markdown 6.0.1 invisible indicators for checked/unchecked checkboxes are
/// no longer used. These constants are now empty strings to reflect that.
@Deprecated(
'This string is no longer used internally. It be will be removed in a future version.')
const indicatorForCheckedCheckBox = '';

class ListItem {
const ListItem(
this.lines, {
Expand Down
36 changes: 0 additions & 36 deletions lib/src/block_syntaxes/long_block_html_syntax.dart

This file was deleted.

26 changes: 0 additions & 26 deletions lib/src/block_syntaxes/other_tag_block_html_syntax.dart

This file was deleted.

10 changes: 0 additions & 10 deletions lib/src/inline_syntaxes/tag_syntax.dart

This file was deleted.