Skip to content
This repository has been archived by the owner on Jan 10, 2025. It is now read-only.

Commit

Permalink
Render images with resvg
Browse files Browse the repository at this point in the history
Removes the runtime dependency on rsvg-convert, which notably improves
Windows support where this tool is not commonly installed.
  • Loading branch information
swsnr committed Feb 26, 2023
1 parent b47d62b commit eec7c1f
Show file tree
Hide file tree
Showing 7 changed files with 362 additions and 39 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ Use `cargo release` to create a new release.
- Update all dependencies.
- No longer sniff mime type from contents to identify SVG images.
Instead rely on the `Content-Type` header for HTTP(S) images and the file extension for local resources (see [GH-239]).
- Render SVG images using the pure Rust `resvg` crate instead of `rsvg-convert`; mdcat no longer requires the latter tool at runtime (see [GH-240]).

### Fixed
- Use `less -r` instead of `less -R` in `mdless` if both `$PAGER` and `$MDCAT_PAGER` are unset (see [GH-238]).
Expand All @@ -20,6 +21,7 @@ Use `cargo release` to create a new release.
[GH-236]: https://github.com/swsnr/mdcat/pull/236
[GH-238]: https://github.com/swsnr/mdcat/issues/238
[GH-239]: https://github.com/swsnr/mdcat/pull/239
[GH-240]: https://github.com/swsnr/mdcat/pull/240
[GH-241]: https://github.com/swsnr/mdcat/pull/241

## [1.0.0] – 2023-01-07
Expand Down
Loading

0 comments on commit eec7c1f

Please sign in to comment.