-
Notifications
You must be signed in to change notification settings - Fork 2
Getting Started
Brett Terpstra edited this page Dec 6, 2025
·
1 revision
This guide will help you get up and running with Apex quickly.
First, you'll need to build Apex from source. See the Installation guide for detailed instructions.
git clone https://github.com/ttscoff/apex.git
cd apex
mkdir build && cd build
cmake ..
makeOnce built, you can convert Markdown to HTML:
# Basic conversion
./apex input.md > output.html
# Or pipe from stdin
echo "# Hello World" | ./apexApex supports multiple processor modes. The default is unified mode, which enables all features. You can also use specific modes for compatibility:
# Unified mode (default - all features)
apex document.md
# GFM mode (GitHub compatibility)
apex --mode gfm document.md
# Kramdown mode
apex --mode kramdown document.mdSee the Modes page for details on what's enabled in each mode.
apex document.md --standalone --title "My Document" --style styles.cssapex document.md --prettyapex document.md --no-idsRelaxed tables are enabled by default in unified and kramdown modes. They allow tables without separator rows:
one | two
1 | 2To disable:
apex document.md --no-relaxed-tables- Learn about all available syntax features
- Understand processor modes
- Explore command line options
- Check out the C API for programmatic use
Copyright 2025 Brett Terpstra, All Rights Reserved | MIT License
- Getting Started - Your first steps with Apex
- Installation - How to build and install Apex
- Usage - Basic usage examples
- Syntax - Complete syntax reference for unified mode
- Modes - Understanding processor modes
- Command Line Options - All CLI flags explained
- Header IDs - How header IDs are generated
- C API - Programmatic API documentation
- Xcode Integration - Using Apex in Xcode projects
- Examples - Practical usage examples
- Troubleshooting - Common issues and solutions
- Credits - Acknowledgments and links to related projects