mdcat is cat for markdown (that is, CommonMark). mdcat works best with iTerm2 or a compatible terminal emulator, and a good terminal font with italic characters. Then it nicely renders all basic CommonMark syntax (no tables or footnotes though), highlights code blocks with syntect, shows links and images inline in supported terminals, adds jump marks for headings in iTerm2
mdcat is cat for markdown (that is, CommonMark). mdcat works best with iTerm2 or a compatible terminal emulator, and a good terminal font with italic characters. Then it nicely renders all basic CommonMark syntax (no tables or footnotes though), highlights code blocks with syntect, shows links and images inline in supported terminals, adds jump marks for headings in iTerm2
To install mdcat, run the following command in macOS terminal (Applications->Utilities->Terminal)
sudo port install mdcat
To see what files were installed by mdcat, run:
port contents mdcat
To later upgrade mdcat, run:
sudo port selfupdate && sudo port upgrade mdcat
Reporting an issue on MacPorts Trac
The MacPorts Project uses a system called Trac to file tickets to report bugs and enhancement requests.
Though anyone may search Trac for tickets, you must have a GitHub account in order to login to Trac to create tickets.