Adds reasonable spaces between Chinese and English and corrects the case of special nouns.
Project description
md-format
A pre-commit hook that formats .md files. It automatically adds reasonable spaces between Chinese and English and corrects the case of special nouns.
For pre-commit: see https://github.com/pre-commit/pre-commit
Using md-format with pre-commit
Add this to your .pre-commit-config.yaml :
- repo: https://github.com/PKUcoldkeyboard/md-format
rev: 0.0.5
hooks:
- id: md-format
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file md_format_hook-0.0.5.tar.gz.
File metadata
- Download URL: md_format_hook-0.0.5.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
213dec20a16d817bead140ed87c9bf110694e538b1fc60e7f6ef6269d10cb95b
|
|
| MD5 |
ec5063d98dedb37d13d8795efb340322
|
|
| BLAKE2b-256 |
987d120cd1f1638ed6a3513a4d99680ab823b0465c5a6adc92c7ca753367cae1
|
File details
Details for the file md_format_hook-0.0.5-py2.py3-none-any.whl.
File metadata
- Download URL: md_format_hook-0.0.5-py2.py3-none-any.whl
- Upload date:
- Size: 3.7 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7bd6f9d7298d78ef5d14cf421651d6c9f6d28da4f469c3cfee6cf4798f5e0ccb
|
|
| MD5 |
a3c638be6f21efb3d8ebdd6d0453f85d
|
|
| BLAKE2b-256 |
8246d408cba38ca3755a6e57da6b95e9fd049b4b2287dd6462b04fc624a0ac78
|