Fast C++/MD4C Markdown conversion for Tiptap-style JSON.
import marktip as tm
doc = tm.from_markdown("# Hello")
ast = doc.to_dict()
markdown = doc.to_markdown()
doc = tm.from_dict(ast)The first version targets GFM core syntax and canonical Markdown output rather than byte-identical source preservation.
python -m pip install .[test]
python -m pytestFor a direct local CMake build:
cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Release \
-Dpybind11_DIR="$(python -m pybind11 --cmakedir)"
cmake --build build
PYTHONPATH=python python -m pytest
PYTHONPATH=python python scripts/benchmark.py