Skip to content

Install

Simplemark is pure Python with no runtime dependencies. It needs Python 3.12 or later.

pip install simplemark

Or, with uv:

uv add simplemark

Check it works

python -c "import simplemark; print(simplemark.__version__)"
0.1

And the command line:

echo 'Compute ``n`` factorial.' | python -m simplemark --width 40 --style none
Compute 'n' factorial.

What gets installed

simplemark the package: parse, parse_inline, check, render_text, and the node types
python -m simplemark the command line interface
simplemark the same CLI, as a console script

Nothing else. No plugins to enable, no configuration file, no state.

Development install

git clone https://github.com/abilian/simplemark
cd simplemark
uv sync
uv run pytest

The test suite needs docutils and markdown-it-py, which are development dependencies only. They are the reference parsers the differential tests check simplemark against; if they are missing those tests skip rather than fail.