# Contributing

Contributions (pull requests) are very welcome!

1. Fork the library on GitHub. Then clone and install the library in development mode:
    ```bash
    git clone https://github.com/your-username-here/typst_pyimage.git
    cd typst_pyimage
    pip install -e .
    ```

2. Install the pre-commit hooks, which are used to autoformat and lint the code:
    ```bash
    pip install pre-commit
    pre-commit install
    ```

3. Make your changes. Include additional tests if necessary.

4. Verify the tests all pass:
    ```bash
    pip install -r tests/requirements.txt
    pytest
    ```

5. Push your changes back to your fork of the repository:
    ```bash
    git push
    ```
    Finally, open a pull request on GitHub!
