Lucas-C / pre-commit-hooks-markup

Hooks for pre-commit that validate Markdown / RST files

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

License:MIT License


Languages

Language:Python 100.0%