Dynamically convert a block of html into printable card formats