Skip to main content

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.1
  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

md_format_hook-0.0.2.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

md_format_hook-0.0.2-py2.py3-none-any.whl (3.6 kB view details)

Uploaded Python 2Python 3

File details

Details for the file md_format_hook-0.0.2.tar.gz.

File metadata

  • Download URL: md_format_hook-0.0.2.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

Hashes for md_format_hook-0.0.2.tar.gz
Algorithm Hash digest
SHA256 eea8694e42fe77669aae21484fcd5afa83742cc79a6648f89fe6097f95c5f0d2
MD5 6e18fabd82eaac034038ed4c323d1c92
BLAKE2b-256 d4e62c4d44e133eb8562b5d845bda387b27dac35e19c58527034bdaaa8c3168d

See more details on using hashes here.

File details

Details for the file md_format_hook-0.0.2-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for md_format_hook-0.0.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 040be0e2b69baf1e04139ddeaf705ee9119f30bbbe1441db8c6734440ee58a51
MD5 186c98e951e73f9e62b8c0e68fec9552
BLAKE2b-256 a77495b8daad3c660ed4f90a309f4b9577ada821d0a04785fa13bd81d617be66

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page