|
Is there syntax to prevent sections of text from being rendered in the HTML and/or PDF? At the moment, it is possible to omit paragraphs of text from the PDF:
For omitting longer blocks of text, add the following recipe to local/config.php: Then in the page, write:
If that works, you could also write this recipe (enabled for the current page): if ($format=='pdf') $WikiStyle['webonly']['display'] = 'none'; else $WikiStyle['printonly']['display'] = 'none'; And so:
Contributors: John Rankin, Gustav Andersson, Wednesday, 14 November 2007 |