bindery icon indicating copy to clipboard operation
bindery copied to clipboard

Hyphenation

Open edi0th opened this issue 5 years ago • 1 comments

Hi ! Thanks for Bindery, it's a perfect script for html book layouting ! I was nevertheless concerned with hyphenations. I'm using chromium to render the book (sometimes it's a bit buggy in firefox), but the css hyphenation rules are not working on chromium + linux.

Is there a way I could hyphenize my text, maybe through something like Hyphenator.js ? Is there a way to do some text processing while the book is being generated ?

Thanks in advance !

edi0th avatar Feb 19 '20 09:02 edi0th

Hi @edi0th ,

Bindery should support any CSS option— if you have an example of hyphens working in a website but not in bindery, let me know. I'm not familiar with third party JS hyphenation libraries. If all they are doing is inserting soft hyphens, you could just make sure they run on the your content before you call bindery.makeBook?

evnbr avatar Feb 24 '20 00:02 evnbr