normalize-punctuation 0.1.0

Normalize punctuation in Markdown files.
Documentation
  • Coverage
  • 50%
    3 out of 6 items documented1 out of 3 items with examples
  • Size
  • Source code size: 20.27 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 268.58 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 20s Average build duration of successful builds.
  • all releases: 23s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • qrichert/cronrunner
    3 1 11
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • qrichert

Normalize Punctuation

Normalize punctuation in Markdown files.

Current replacements

  • '
  • '
  • "
  • "
  • '
  • "
  • ...
  • NBSP
  • « "
  • «"
  • »"
  • »"
  • -
  • -
  • -

To keep NBSPs, use explicit   instead.

Installation

As a pre-commit hook (recommended)

To run healthcheck as a pre-commit hook, add the following to your .pre-commit-config.yaml file:

- repo: https://github.com/qrichert/normalize-punctuation
  rev: <tag of latest version>
  hooks:
    - id: normalize-punctuation

As a standalone executable

cargo install --locked --git https://github.com/qrichert/normalize-punctuation.git

Use the same command to update normalize-punctuation.