I’m bringing up the possibility for this plugin to support ladder suppression, i.e. the ability to detect consecutive line-end hyphens and choose to not hyphenate certain lines. This could be set to only hyphenate one line, or to stop hyphenating after a certain number of consecutive hyphens.
For a graphical example:

For reference, Mathias Nater’s hyphenator.js (https://github.com/mnater/Hyphenator) explicitly does not support ladder suppression, since
There’s no way for Javascript to influence the algorithm for laying out text in the browser. Thus we can’t control how many hyphens occur on subsequent lines nor can we know which words have actually been hyphenated. Hyphenator.js just hyphenates all of them.
I’m bringing up the possibility for this plugin to support ladder suppression, i.e. the ability to detect consecutive line-end hyphens and choose to not hyphenate certain lines. This could be set to only hyphenate one line, or to stop hyphenating after a certain number of consecutive hyphens.
For a graphical example:

For reference, Mathias Nater’s hyphenator.js (https://github.com/mnater/Hyphenator) explicitly does not support ladder suppression, since