github cmhughes/latexindent.pl V3.15

latest releases: V4.0.1, V4.0, V3.24.7...
4 years ago

new feature: pre-commit now supported with latexindent.pl!

A massive thank you to @tdegeus for contributing this feature.

The feature is documented fully at https://latexindentpl.readthedocs.io/en/latest/sec-appendices.html#pre-commit; for reference see also #322 and #316

In brief, variations of the file .pre-commit-config.yaml in your .git repository as follows

- repo: https://github.com/cmhughes/latexindent.pl
  rev: V3.15
  hooks:
  - id: latexindent
    args: [-s]

and then running

pre-commit run --all-files

will run latexindent.pl on all .tex files in your repository. There's a supported option for conda users also. Full details at https://latexindentpl.readthedocs.io/en/latest/sec-appendices.html#pre-commit

Don't miss a new latexindent.pl release

NewReleases is sending notifications on new releases.