Skip to content

About

Identify ASCII typography that could be Unicode

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

19 Commits

Folders and files

Repository files navigation

typography.py

Identify ASCII typography that could be better rendered as Unicode. For example, this right here---could be better rendered as an em dash —.

This is not a spell checker or prose linter; I use it in addition to Hunspell and Proselint when I want to be maximally pedantic. Like those other tools, typography.py flags issues eagerly and is prone to false positives.

Installation

pipx install 'git+https://github.com/maxkapur/typography.py'

Usage

typography some_file.md maybe_another.md

Suggested changes will be shown using git diff.

Development

python -m venv venv
source ./venv/bin/activate  # Or appropriate command for your shell
pip install --upgrade pip
pip install --editable .[dev]

About

Identify ASCII typography that could be Unicode

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages