- Support multiple paths as input, which is required for compatibility with pre-commit.
- Trim trailing whitespace from the output.
- Drop
py-pandocas a default dependency. To get pandoc, you can install it with your system's package manager (such as homebrew or apt-get). Alternatively, you can directly install pre-commit-docx-plain using the[pandoc]extra to install pandoc through thepy-pandocPyPI package. However, we've found that py-pandoc cannot be installed reliably as a dependency of a pre-commit hook.
New configuration options from the command line:
--suffixoption allows you to customize the suffix of the plain text mirror.--headeroption allows you to add header content to the plain text mirror file.
Initial release.