normalize-punctuation

Crates.ionormalize-punctuation
lib.rsnormalize-punctuation
version0.2.0
created_at2025-04-25 21:19:53.892787+00
updated_at2025-04-27 16:03:55.200858+00
descriptionNormalize punctuation in Markdown files.
homepage
repositoryhttps://github.com/qrichert/normalize-punctuation.git
max_upload_size
id1649524
size33,301
Quentin Richert (qrichert)

documentation

README

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 normalize-punctuation 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.

Commit count: 0

cargo fmt