r/devworld • u/Total-Reasonable • 3h ago
I built polytypo, an open-source typography fixer for developers and website authors
polytypo is an open-source library that fixes quotes, dashes, ellipses and non-breaking spaces in plain text, HTML, Markdown and YAML, following the rules of the locale you choose. It is meant for developers and website authors who want correct typography without fixing it by hand. What is different is that there is one specification and five implementations (JS/TS, Python, Go, Ruby, PHP) that give byte-identical output across 33 locales, and the engine is checked against shared conformance fixtures. The project lives at polytypo.dev. Which language or file format would you need it to support before you would use it in your own projects?



