[pmwiki-users] Wanted: Code highlighter that works with Wiki Publisher

Patrick R. Michaud pmichaud at pobox.com
Sat Sep 23 12:27:25 CDT 2006

On Sat, Sep 23, 2006 at 12:31:54PM -0400, Crisses wrote:
> On Sep 23, 2006, at 12:17 PM, Patrick R. Michaud wrote:
> >
> >Of course, WikiPublisher is designed to go from wiki markup to
> >PDF without any intermediate HTML step, so there's not an obvious
> >hook for the beautifier recipes as they exist.  As I see it,
> >this leaves the following options:
> Or creating a PDF publisher that goes from HTML->PDF -- those  
> probably exist already and just need to be plugged in somewhere.

See http://www.pmwiki.org/wiki/Cookbook/GeneratePDF .   :-)

> If you (Patrick) are able to resolve the need for the page output  
> that would be created for a specified page in the wiki to go to a  
> variable instead of the browser, that would work for both mailing  
> newsletters out from the wiki pages and for creating HTML->PDFs for  
> specific pages in the wiki.

The GeneratePDF recipe shows how this can be done using ob_start()
and ob_get_contents().


More information about the pmwiki-users mailing list