Changelog
- now when stdout isn't tty, and no output format was asked, mcat will act like a normal cat command, #86
- improved the detection for
mermaidfiles, now supportsmmdext, and if the content isn't mermaid its treated as mathpix (md) - added experimental flag
--md_kitty_headersfor rendering headers using kitty text sizing protocol, doesn't work well with pagers. - added math dollars support for the markdown_viewer, just highlights
- added callout blocks support for the markdown_viewer
- added better support for qmd files, now treated as markdown
- added
--tocflag, for adding a simple table of content in the markdown_viewer - fixed an issue in the markdown_viewer where ordered lists weren't auto numbered, now follows CommonMark spec
- fixed an issue in the interactive_viewer where viewport panning underflowed when the container was larger than the image (#83 @Raina-Hardik)
- fixed mermaid rendering in
md_to_htmland quarto style fenced code blocks (e.g.```{r}) not being highlighted (#81, #83 #84 @Raina-Hardik)
Install
Linux / macOS
curl -fsSL https://github.com/Skardyy/mcat/releases/download/v0.6.2/install.sh | shPowerShell (Windows)
irm https://github.com/Skardyy/mcat/releases/download/v0.6.2/install.ps1 | iexDebian / Ubuntu (.deb)
# glibc
curl -LO https://github.com/Skardyy/mcat/releases/download/v0.6.2/mcat_0.6.2_amd64.deb
sudo dpkg -i mcat_0.6.2_amd64.deb
# musl
curl -LO https://github.com/Skardyy/mcat/releases/download/v0.6.2/mcat-musl_0.6.2_amd64.deb
sudo dpkg -i mcat-musl_0.6.2_amd64.debFedora / RHEL (.rpm)
# glibc
sudo dnf install https://github.com/Skardyy/mcat/releases/download/v0.6.2/mcat-0.6.2-1.x86_64.rpm
# musl
sudo dnf install https://github.com/Skardyy/mcat/releases/download/v0.6.2/mcat-musl-0.6.2-1.x86_64.rpmDownload
| File | Platform | Checksum |
|---|---|---|
| mcat-v0.6.2-x86_64-apple-darwin.tar.xz | Intel macOS | checksum |
| mcat-v0.6.2-aarch64-apple-darwin.tar.xz | Apple Silicon macOS | checksum |
| mcat-v0.6.2-x86_64-unknown-linux-gnu.tar.xz | x64 Linux (gnu) | checksum |
| mcat-v0.6.2-aarch64-unknown-linux-gnu.tar.xz | ARM64 Linux (gnu) | checksum |
| mcat-v0.6.2-x86_64-unknown-linux-musl.tar.xz | x64 Linux (musl) | checksum |
| mcat-v0.6.2-aarch64-unknown-linux-musl.tar.xz | ARM64 Linux (musl) | checksum |
| mcat-v0.6.2-x86_64-pc-windows-msvc.zip | x64 Windows | checksum |
| mcat_0.6.2_amd64.deb | x64 Debian/Ubuntu (gnu) | checksum |
| mcat_0.6.2_arm64.deb | ARM64 Debian/Ubuntu (gnu) | checksum |
| mcat-musl_0.6.2_amd64.deb | x64 Debian/Ubuntu (musl) | checksum |
| mcat-musl_0.6.2_arm64.deb | ARM64 Debian/Ubuntu (musl) | checksum |
| mcat-0.6.2-1.x86_64.rpm | x64 Fedora/RHEL (gnu) | checksum |
| mcat-0.6.2-1.aarch64.rpm | ARM64 Fedora/RHEL (gnu) | checksum |
| mcat-musl-0.6.2-1.x86_64.rpm | x64 Fedora/RHEL (musl) | checksum |
| mcat-musl-0.6.2-1.aarch64.rpm | ARM64 Fedora/RHEL (musl) | checksum |