i have a site where people can download source code, sorta paste type site, i want them to be able to download a pdf version, sorta on the fly type.
i been using dompdf for other projects, but it seems i cant do the highlighting, it tries to parse the actual php code.
ive used pdf24.org online converter and it does the highlighting, but since its not open source i cant implement it.
ive tried using highlight_file, but all it does is spit out the contents in the browser, even if i set output to false.
any suggestions?
thanks.
highlight_fileis correct,