| Crates.io | normalize-punctuation |
| lib.rs | normalize-punctuation |
| version | 0.2.0 |
| created_at | 2025-04-25 21:19:53.892787+00 |
| updated_at | 2025-04-27 16:03:55.200858+00 |
| description | Normalize punctuation in Markdown files. |
| homepage | |
| repository | https://github.com/qrichert/normalize-punctuation.git |
| max_upload_size | |
| id | 1649524 |
| size | 33,301 |
Normalize punctuation in Markdown files.
‘ → '’ → '“ → "” → "ˋ → `‚ → '„ → "… → ...NBSP → « → "« → " » → "» → "‐ → -﹘ → -− → -– → -To keep NBSPs, use explicit instead.
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
cargo install --locked --git https://github.com/qrichert/normalize-punctuation.git
Use the same command to update normalize-punctuation.