davidmerfield/Typeset

Request: Widow control (widont)

Offen

#70 geöffnet am 26.05.2021

 (0 Kommentare) (2 Reaktionen) (1 zugewiesene Person)JavaScript (54 Forks)batch import
enhancementhelp wanted

Repository-Metriken

Stars
 (2.679 Sterne)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

This is a great library! Thanks so much for maintaining it.

I'd love to see an option for controlling widows. For instance typogr.js uses the "widont" pattern of replacing the space between the last two words in a block with  .

(Typographically a widow is actually a single line on a wrapped paragraph rather than a single word on a wrapped line, but on the web the usage seems to be mostly about not leaving a single word, since multicolumn layouts are less common.)

Contributor Guide