Follow-up to Friday's post.
The thing that's really hard is styling.
If you just want bold or italic, you have to bring in the heavy machinery.
Since the last time I looked however, the machinery has been nicely packaged thus..
https://github.com/cburgmer/rasterizeHTML.js
It works. Still filled with mystery, but I have something interesting working, but far from complete.