Confluence 3.3 has reached end of life
Check out the [latest version] of the documentation
Making a NoPrint Macro and CSS, for hidding Comments, or anything on Print, or PDF Export
This page Refers from NoPrint Macro and CSS for Export PDF Stylesheet, if you need anything use User Macro First
The NoPrint macro, is a useful macro for Hidding information within a page.
It's usage permits the user to bound what should be ommited from the Print or PDF Export.
This should help some with those needs above.
How to setup your own NoPrint ( Mind it's lowercase only):
- Making the Macro:
- Do a macro called "noprint".
- Check "Has Body", "Convert macro body..." , and "Macro generates HTML"
- Insert this template
<div class="noprint">$body</div>
- Macro done!
Usage with the Wiki Markup Editor
What you need to type |
What you will get |
|---|---|
Like {noprint}This Text will not be printed in Export{noprint} This
|
When Exporting PDF: " Like This " |
Now you can go back to NoPrint Macro and CSS for Export PDF Stylesheet to finish your NoPrint Guide.
Overview
Content Tools
Apps
