My company is currently running 3.3.3 and i am tasked with creating a document that requires code snippets.
How do you best present code in this version.
I found a macro, but it says that it doesn't export to PDF very well.
Does anyone have a good solution to this?
(I do know that there is an upgrade in the works, but no one has time to do this at the moment.)
The obvious choice is the {code} macro.
A quick test on Confluence 3.3 seems to show it working nicely in both Confluence and a PDF rendition of the page.
Here's a link to the full image:
-- now moved to yfrog. hope it doesn't close soon.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In the example above, I was using the bundled {code} macro on a clean installation of Confluence 3.3.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Which macro did you find. There is more than one. If you are on 3.3.3 you might want to check out the appropriate version of
the New Code Macro (1.9.6)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.