Thanks for your interest in contributing. Here's how to get started.
- Fork the repo and clone it
- Make sure you have Rust installed (
rustuprecommended) - Run
cargo buildto verify everything compiles - Run
cargo testto make sure tests pass
- Create a branch from
main - Keep your changes focused — one feature or fix per PR
- Add tests if you're adding new functionality
- Run
cargo testandcargo clippybefore submitting
- Follow existing patterns in the codebase
- Keep functions small and focused
- Handle errors gracefully — ink should never crash on bad input
- If a terminal doesn't support a feature, fall back silently
Open an issue with:
- What you expected to happen
- What actually happened
- Your terminal emulator and OS
- The markdown content that triggered the bug (if applicable)
Open an issue describing what you'd like and why. Keep it concrete — "support X syntax" is better than "make rendering better."
By contributing, you agree that your work will be licensed under the same terms as the project. See LICENSE.