Thank you for your interest in contributing to MDA Markdown! We welcome contributions from the community and are pleased to have you join us.
-
Fork the Repository
- Fork the repository on GitHub
- Clone your fork locally:
git clone https://github.com/sno-ai/mda.git
-
Install Dependencies
pnpm install
-
Create a Branch
git checkout -b feature/your-feature-name # or git checkout -b fix/your-fix-name -
Make Your Changes
- Write clear, concise commit messages
- Follow our coding standards and practices
- Add tests if applicable
- Update documentation as needed
-
Test Your Changes
pnpm run test # Run tests pnpm run type-check # Check types
-
Document Your Changes
- For documentation changes, test with:
pnpm exec mintlify dev # Preview documentation locally
- Ensure both
.mdand.aimdfiles follow our guidelines
- For documentation changes, test with:
-
Push to Your Fork
git push origin feature/your-feature-name
-
Create a Pull Request
- Go to the MDA Markdown repository on GitHub
- Click "New Pull Request"
- Choose your fork and branch
- Fill in the PR template with all relevant information
- Follow the existing code style
- Use TypeScript for type safety
- Run Prettier before committing:
pnpm prettier --write .
- Use clear, descriptive commit messages
- Format:
type(scope): description - Types:
feat,fix,docs,style,refactor,test,chore - Example:
feat(parser): add support for nested lists
- Update documentation for any new features
- Include code examples where appropriate
- Support both
.mdand.aimdformats - Test documentation changes locally
- Add tests for new features
- Ensure all tests pass before submitting
- Include both unit and integration tests where appropriate
- Open an issue for questions
- Join our community discussions (if applicable)
- Check existing issues and PRs before creating new ones
By contributing to MDA Markdown, you agree that your contributions will be licensed under its MIT license.