Contributing¶
Thanks for considering a contribution to html-to-markdown. Every fix, feature, and documentation improvement helps.
Ways to contribute¶
- Report a bug — open an issue with a minimal reproduction
- Fix a bug — look for issues tagged
good first issueorhelp wanted - Improve the docs — edit any page directly on GitHub using the pencil icon, or clone and run the site locally
- Add a feature — open an issue first to discuss scope before writing code; large changes without prior discussion may not be accepted
Getting started¶
git clone https://github.com/kreuzberg-dev/html-to-markdown.git
cd html-to-markdown
task setup # installs deps, builds Rust extension, wires commit hooks
task test # should pass before you make any changes
Full prerequisites and per-language build instructions are in CONTRIBUTING.md at the repo root.
Workflow¶
- Fork the repo and create a branch:
git checkout -b fix/your-change - Make your change, add tests if applicable
- Run
task test(Rust + Python) andpnpm test(JS/TS) as needed - Commit using Conventional Commits — prek enforces this automatically
- Push and open a pull request against
main
Documentation changes¶
The docs site lives in docs/ and builds with Zensical:
uv sync --group doc
uv run --no-sync zensical serve # live preview at localhost:8000
scripts/ci/docs/build.sh --strict # what CI runs — fix all warnings before pushing
New pages go in docs/, must be added to nav: in mkdocs.yaml, and should follow the style already on the page you're editing: terse, table-driven.
Getting help¶
- Have Any Questions — Join the GitHub Discussions
- Join Our community — Discord
- Report a Bugs — GitHub Issues
Found a bug or mistake on this page?
If something here is wrong or out of date, open an issue on GitHub or contribute a fix via pull request.