🚀 Documentation crafted by Sonicar Tech LLC get your own docs shipped in 1 week →
Sonicar Tech LLCMarkItDown
Contributing

Running Tests & Checks

How to run MarkItDown's test suite and pre-commit checks locally, with hatch, or inside a Devcontainer.

Install hatch and run the tests

pip install hatch  # Other ways of installing hatch: https://hatch.pypa.io/dev/install/
hatch shell
hatch test

Run the pre-commit checks

Run these before submitting a PR:

pre-commit run --all-files

Alternative: Devcontainer

Use the Devcontainer which has all the dependencies installed:

# Reopen the project in Devcontainer and run:
hatch test

On this page