How To Install Cmark On Debian, Ubuntu, Alpine, Arch, Kali, Fedora, Raspbian And MacOS?
Maintainer: Peter Eisentraut
Email: [email protected] .
Website: https://github.com/jgm/cmark
Section: text
Install cmark
-
Debian
apt-get install cmarkClick to copy -
Ubuntu
apt-get install cmarkClick to copy -
Alpine OS
apk add cmarkClick to copy -
Arch Linux
pacman -S cmarkClick to copy -
Kali Linux
apt-get install cmarkClick to copy -
Fedora
dnf install cmarkClick to copy -
Raspbian
apt-get install cmarkClick to copy -
macOS
brew install cmarkClick to copy
Converts CommonMark Markdown formatted text to other formats.
How to use cmark?
Below are few example commands for cmark that you can use in the terminal.
Render a Commonmark Markdown file to HTML:cmark --to html filename.mdClick to copyConvert data from standard input to latex:cmark --to latexClick to copyConvert straight quotes to smart quotes:cmark --smart --to html filename.mdClick to copyValidate utf8 characters:cmark --validate-utf8 filename.mdClick to copy
To install the latest version of cmark in your favorite operating system just copy the cmark installation command from above and paste it into terminal. It will download and install the latest version of cmark 2026 package in your OS.




