Typeset icon indicating copy to clipboard operation
Typeset copied to clipboard

An HTML pre-proces­sor for web ty­pog­ra­phy

Results 26 Typeset issues
Sort by recently updated
recently updated
newest added

I was planning to add a line in punctuation.js to replace a hyphen between two numbers _without a space_ with an en-dash (`14-31 days ` → `"14–31 days"`). It looks...

enhancement
help wanted

[Void elements](https://w3c.github.io/html-reference/syntax.html#syntax-elements), or singletons, like `img`, `hr`, `br` and others contain a closing forward slash in (X)HTML validation, e.g. ``. When Typeset processes content with HTML, it is removing those...

bug

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...

enhancement
help wanted

I would like to avoid the last 2 words in a paragraph from appearing on the last line by themselves. For now I've been hacking around this by manually wrapping...

enhancement

Is there a way to specify the language in the case of processing HTML fragments?

enhancement

Screen readers stumble on something like `at`, reading it as 'A T' instead of 'at'. This makes the optical margin alignment and hanging punctuation output unusable for people using screen...

bug

I have HTML with entities like `<` and `>` in it and when I pass this HTML through typeset, they are replaced with the actual `` characters and so my...

enhancement

As part of my research on #52 I also studied whether the push/pull technique could be applied to blocks with `text-align:right` (that is, the punctuation would hang over the right...

enhancement

Add option to wrap a sequence of characters in a node which could be targeted? This would not be default behaviour and is naturally dependent on the typeface e.g. ```...

enhancement

A cool feature would be to automatically encapsulate instances of manually configured—and perhaps predefined—abbreviations with ``.