davidmerfield / davidmerfield/Typeset

Request: Widow control (widont)

Open
#70 0 comments 2 reactions 1 assignee Claimed by @danielhaim1 View on GitHub
enhancement help wanted
Dominant language
JavaScript
Stars
2.7k
Forks
53
PR merge metrics
No merged PRs in 30d

Description

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

I'd love to see an option for controlling [widows](https://en.wikipedia.org/wiki/Widows_and_orphans). For instance [typogr.js uses the "widont" pattern](https://github.com/ekalinin/typogr.js#widont) 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

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.