How do you take a screenshot of a div in javascript?
Not in a live site even - just in an optional build step,
for example i use this to regenerate a set of images from an array of markdown/theme info before deploy. (see pdf.nimbletext.com)
get a copy of html2canvas.js