Open davidar opened 9 years ago
there is also Calzone, which unfortunately doesn't preserve formatting. I've forked it, removed jQuery dependency, so it is faster now and tried to preserve the formatting. It works sometimes, sometimes it fails. I am not DOM nor JS expert, so I don't really know what's the issue, maybe you might have better luck?
I am not DOM nor JS expert
Me either :/. I suspect this issue will have to wait until I'm able to convince a real web dev to look at it
CC: @dignifiedquire ;)
Most browsers justify text with a dumb greedy algorithm, and stubbornly refuse to implement anything more intelligent. The typeset library by @bramstein implements Knuth-Plass linebreaking, but it isn't yet production-ready (demo). Also see ipfs/apps#5