This question about Using an extension: Answered

Is there a way to print syntax highlight (DpSyntaxHighlighterPlugin)

Hi,

I'm trying to use GenPDFAddon to print some technical documentation using DpSyntaxHighlighterPlugin. The code is printed whithout any coloration. Is there a way to do that ?

Thanks smile

-- ChipsInChief - 23 Nov 2015

No, unfortunately the syntax highlighter plugins use javascript to do in-browser highlighting. GenPDFAddOn is the oldest of the PDF generators, and doesn't support even CSS, let along javascript. There are more modern PDF generators, but I don't believe any of them will handle the client side highlighting that the syntax highlighters use.

-- GeorgeClark - 23 Nov 2015
 

QuestionForm edit

Subject Using an extension
Extension GenPDFAddOn
Version Foswiki 2.0.2
Status Answered
Related Topics
Topic revision: r2 - 23 Nov 2015, GeorgeClark
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy