typographic-linter
Typographic linter – because we do care very much about typography.
Overview
typographic-linter
is Rust library that checks for common typographic rules in several languages:
English, French, German, Italian and Spanish.
Library in action
Add the dependency in your Cargo.toml
:
= { = "https://github.com/rlustin/typograhic-linter" }
extern crate typographic_linter;
use Linter;
Implemented rules
This library is a work in progress. For now, it only checks for the rules bellow.
All languages
- curly apostrophes;
- ellipsis symbol;
- no space before comma;
- prices;
- typographic quotation marks.
French
- spaces before double punctuation marks.