3 ms·
article { text-justify: Knuth-Plass; }
by odyssey7 3y ago
article {
text-justify: Knuth-Plass;
}
- SushiHippie 3y agoMind explaining?
- odyssey7 3y agoThe comment is invalid CSS to apply the Knuth-Plass algorithm in rendering an HTML article. Knuth being a perfectionist’s perfectionist, TeX uses this algorithm to determine optimal line breaks to provide for better text justification. Here’s a discussion of hacks to achieve the algorithm’s results on web pages and an upcoming CSS feature as of 2020. https://mpetroff.net/2020/05/pre-calculated-line-breaks-for-html-css/ https://mpetroff.net/2020/05/pre-calculated-line-breaks-for-...
- SushiHippie 3y agoThank you!
- computerfriend 3y agoIf only.