Skip to content

Commit

Permalink
Update pulldown-cmark to 0.12.1
Browse files Browse the repository at this point in the history
This implies a bit of refactoring around links and images, as newer
versions of pulldown-cmark no longer include link information in end
tags, so we have to juggle a bit to properly render link references.
  • Loading branch information
swsnr committed Sep 26, 2024
1 parent 91147ff commit d45a461
Show file tree
Hide file tree
Showing 6 changed files with 137 additions and 89 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ Use `cargo release` to create a new release.

## [Unreleased]

### Changed
- Update to pulldown-cmark 0.12 (see [GH-276]).
This brings several fixes and improvements.

[GH-276]: https://github.com/swsnr/mdcat/pull/276

## [2.4.0] – 2024-09-20

### Added
Expand Down
11 changes: 9 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ rust-version = "1.76"

[workspace.dependencies]
mime = { version = "0.3.17", default-features = false }
pulldown-cmark = { version = "0.9.2", default-features = false }
pulldown-cmark = { version = "0.12.1", default-features = false }
reqwest = { version = "0.12.7", default-features = false }
similar-asserts = "1.6.0"
syntect = { version = "5.2.0", default-features = false }
Expand Down
Loading

0 comments on commit d45a461

Please sign in to comment.