How to install cmark on Amazon Linux
CommonMark parsing and rendering
Availability
| Distro | aarch64 | noarch | x86_64 | Version |
|---|---|---|---|---|
| Amazon Linux 2023 | ✓ | — | ✓ | 0.30.3 |
| Amazon Linux 2012.03 | — | — | — | |
| Amazon Linux 2 | — | — | — |
Description
`cmark` is the C reference implementation of CommonMark, a rationalized version of Markdown syntax with a spec. It provides a shared library (`libcmark`) with functions for parsing CommonMark documents to an abstract syntax tree (AST), manipulating the AST, and rendering the document to HTML, groff man, LaTeX, CommonMark, or an XML representation of the AST. It also provides a command-line program (`cmark`) for parsing and rendering CommonMark documents.
Built for Amazon Linux.
Install
cmark on Amazon Linux 2023
sudo dnf -y install https://extras.getpagespeed.com/release-latest.rpm sudo dnf -y install cmark
Package downloads require an active GetPageSpeed subscription — one repository for cmark and thousands more packages for Amazon Linux.
Subscribe — from $10/moFrequently asked questions
How do I install cmark on Amazon Linux?
Add the GetPageSpeed repository, then install the cmark package with your system package manager.
Which Amazon Linux versions is cmark available for?
cmark is available for Amazon Linux 2023.