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.
pipx install 'git+https://github.com/maxkapur/typography.py'typography some_file.md maybe_another.mdSuggested changes will be shown using git diff.
python -m venv venv
source ./venv/bin/activate # Or appropriate command for your shell
pip install --upgrade pip
pip install --editable .[dev]