One Markdown processor to rule them all

Apex Markdown

A unified Markdown processor that combines the best of CommonMark, GitHub Flavored Markdown, MultiMarkdown, Kramdown, and more.

Installation

Homebrew (macOS/Linux)

For most users on macOS or Linux, Homebrew is the easiest way to install Apex:

brew tap ttscoff/thelab
brew install ttscoff/thelab/apex
    

Build from source

If you prefer to build from source:

git clone https://github.com/ApexMarkdown/apex.git
cd apex
git submodule update --init --recursive
make
  

The apex binary will be built into the build/ directory. To install system‑wide:

make install

Basic usage

Once installed, apex can be used from the command line to process Markdown:

# Process a Markdown file to HTML on stdout
apex input.md

# Output to a specific file
apex input.md -o output.html

# Generate a complete standalone HTML document
apex input.md --standalone --title "My Document"

# Pretty‑print HTML with indentation
apex input.md --pretty

Processing modes

Apex supports multiple compatibility modes:

# Use GFM mode
apex input.md --mode gfm

# Use Kramdown mode with relaxed tables
apex input.md --mode kramdown

Syntax overview

Apex brings together a rich set of extensions and document features. Highlights include:

For a complete syntax reference and advanced options, see the documentation links below.

Documentation & resources

The full documentation for Apex lives in the GitHub wiki:

You can find the project source, releases, and issue tracker here: