First off, thank you for considering contributing to MTP! It's people like you that make BLEU such a great community.
We use a simplified version of the GitHub flow:
- Fork the repository
- Create a feature branch
- Write your changes
- Write tests for your changes
- Run the tests and make sure they pass
- Submit a Pull Request
This project uses Bun as its JavaScript runtime and package manager. Make sure you have it installed:
# Install Bun (if you haven't already)
curl -fsSL https://bun.sh/install | bash
# Clone your fork
git clone https://github.com/YOUR_USERNAME/md-to-pdf.git
# Enter the project directory
cd md-to-pdf
# Install dependencies
bun install
# Start development server
bun run dev# Run all tests
bun test
# Run tests in watch mode
bun test --watchWe follow the Conventional Commits specification:
feat:- A new featurefix:- A bug fixdocs:- Documentation only changesstyle:- Changes that do not affect the meaning of the coderefactor:- A code change that neither fixes a bug nor adds a featureperf:- A code change that improves performancetest:- Adding missing tests or correcting existing testschore:- Changes to the build process or auxiliary tools
Example:
feat: add support for custom CSS in PDF output
We use ESLint and Prettier to maintain code quality and consistency:
# Run linter
bun run lint
# Format code
bun run format- Update the README.md with details of changes if needed
- Update the CHANGELOG.md following the Keep a Changelog format
- The PR will be merged once you have the sign-off of at least one maintainer
When filing an issue, make sure to answer these questions:
- What version of the package are you using?
- What version of Bun are you using?
- What did you do?
- What did you expect to see?
- What did you see instead?
We love feature suggestions! When suggesting a feature:
- Explain the problem you're trying to solve
- Explain why this feature would help
- Provide examples of how the feature would work
- Consider if this feature might impact existing functionality
Documentation improvements are always welcome. This includes:
- Fixing typos
- Improving explanations
- Adding examples
- Adding new sections
- Translating to other languages
By participating in this project, you agree to abide by our Code of Conduct.
Feel free to:
- Open an issue
- Join the BLEU Discord community
- Reach out to the maintainers
By contributing, you agree that your contributions will be licensed under the MIT License.