CHANGELOG
- added
--paddingflag for the markdown viewer, applies horizontal padding - added two-face for more file type support for syntax highlighting in the markdown viewer
- added pure Rust PDF rendering via hayro, no external tools required, #64
- added images inside archives are now embedded as data URIs for markdown rendering (
--force-embed-imagesto force it) - added
-vflag for debug logging - added interactive viewer vertical centering for images
- added
scalexandscaleyoptions, for the--optsflag - added musl build to the CI, #57
- added support for viewing tar and zip archives with gz and xz compression.
- added tree view for the markdown viewer when viewing multiple files
- improved error messages from the image encoder
- improved argument parsing
- improved markdownify now detects file formats via magic bytes, no longer relies solely on file extension, #55
- improved text decoding no longer assumes UTF-8, #59
- improved the HTML to image, its now is slightly faster, and produces better images for small content
- improved the markdown viewer rendering, result should feel better formatted. fixes #56, #51
- improved the markdown_viewer wrapping logic, fixes #53
- improved the html_preprocessor for the markdown_viewer, now produces well formatted markdown. fixes #51
- fixed lsix text placement, text was slightly misaligned after a couple of images
- fixed an issue where color would persist after a simple code block in the markdown viewer
- fixed th break in markdown not wrapping correctly in the markdown_viewer
- fixed an issue in the html_preprocessor that caused some tags to not be escaped correctly
Install
Linux / macOS
curl -fsSL https://github.com/Skardyy/mcat/releases/download/v0.5.1/install.sh | shPowerShell (Windows)
irm https://github.com/Skardyy/mcat/releases/download/v0.5.1/install.ps1 | iexDownload
| File | Platform | Checksum |
|---|---|---|
| mcat-x86_64-apple-darwin.tar.xz | Intel macOS | checksum |
| mcat-aarch64-apple-darwin.tar.xz | Apple Silicon macOS | checksum |
| mcat-x86_64-unknown-linux-gnu.tar.xz | x64 Linux (gnu) | checksum |
| mcat-aarch64-unknown-linux-gnu.tar.xz | ARM64 Linux (gnu) | checksum |
| mcat-x86_64-unknown-linux-musl.tar.xz | x64 Linux (musl) | checksum |
| mcat-aarch64-unknown-linux-musl.tar.xz | ARM64 Linux (musl) | checksum |
| mcat-x86_64-pc-windows-msvc.zip | x64 Windows | checksum |