Skip to content

Lucas-C/pre-commit-hooks-markup

Repository files navigation

build status Known Vulnerabilities

Hooks for pre-commit that validate Markdown / RST files

Usage

- repo: https://github.com/Lucas-C/pre-commit-hooks-markup
  rev: v1.0.1
  hooks:
  - id: rst-linter

To enable the .. raw:: directive, you can add:

  - id: rst-linter
    args: [--allow-raw]

Note that this is a potential security hole, and will prevent rendering of the README.rst file on PyPI. See docutils documentation and Python Packaging User Guide for more information.

About

Hooks for pre-commit that validate Markdown / RST files

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages