I tried using dompdf but I faced problem with images and also I didn't know how to include the current SVG image with the highlighting.
Quote:Embedding "raw" SVG's (<svg><path...>) isn't working yet, you need to either link to an external SVG file, or use a DataURI like this: etc...
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)