davidmerfield / Typeset

An HTML pre-proces­sor for web ty­pog­ra­phy
https://typeset.lllllllllllllllll.com/
Creative Commons Zero v1.0 Universal
2.65k stars 54 forks source link

Add --disable option to disable typeset features #33

Closed kevinschaul closed 8 years ago

kevinschaul commented 9 years ago

Allow users to disable certain typeset features, such as hanging puncuation or hyphenation.

Conveniently uses Typeset's interal module names to disable these features. This makes implementation easy, but possibly usage more difficult (e.g. this patch requires "--disable smallCaps" instead of allowing "--disable small-caps"). I've listed the feature names in the README to ease this pain.

Not sure whether it is worth also adding an --enable feature.

Fixes #32

davidmerfield commented 8 years ago

Sorry for the delay – thank you for this!