The Noformat macro displays a block of text in monospace font with no other formatting.
Using the Noformat Macro
To add the Noformat macro to a page:
Enter the content that is to be unformatted into the body of the macro placeholder.
Parameters
When editing, you can click on the macro placeholder and choose Edit to display the parameters for this macro in the Macro Browser.
Parameters are options that you can set for Confluence macros to control the content or format of the macro output. The table below lists parameters for this macro that can be set in the Macro Browser.
Parameter | Default | Description |
|---|---|---|
No Panel | False | Removes the panel around the content. |
Related Topics
Take me back to the Confluence User's Guide.







13 Comments
Hide/Show CommentsNov 11, 2006
KC Baltz
Note: The second example is incorrect in the "What you need to type" column. It should be:
{noformat:nopanel=true}
I do not want this text formatted!
{noformat:nopanel=true}
Nov 11, 2006
Guy Fraser (Adaptavist)
Nope, it should be:
{noformat:nopanel=true}
I do not want this text formatted!
{noformat}
Feb 18, 2007
Andreas Knecht [Atlassian]
Sorry about that. I've just fixed up the docs, with the correct syntax.
Feb 14, 2008
IP
this has frustrated me a lot, I have used other Wikies, but with Confluence, just entering an inline CamelCase word in mono-spaced font seems impossible without Confluence having to interpret this as a WikiWord. All I want to do is write a name of a Java class, and not create a new page. Can someone help?
Thanks in advance.
Feb 14, 2008
Bob Swift
CamelCase is an option under Administration->General configuration/ I always turn it off.
Jun 27, 2008
Anonymous
Is there any way I could create a user macro based on this that would have the monospace and formatting preserved, but could still recognize other macros or links etc. So for example:
\{noformat} I want this text formatted like this {user-macro} and use this macro {user-macro} and this [link|some page]. \{noformat}Jul 02, 2008
Tony Cheah Tong Nyee
Hi there,
You might be interested to try the Panel macro which allows macro/wiki markup rendering within the "block" and hence allow using the
monospacemarkup too.If you are keen to create your own User Macro or Macro, feel free to refer to the link included for more information regarding the modules respectively.
Cheers,
Tony
Sep 15, 2008
Daniel O'Connor
Hi All,
I find that if I use the noformat macro inside columns, that unless I manually break up paragraphs, that my noformat will break the columns.
This has only started to happen recently. Is this a known issue? It would be nice if the nonformatted text-box still followed the formatting of the rest of the page, even if the code inside doesn't.
Cheers,
Dan.
Sep 29, 2008
Ming Giet Chong
Hi Dan,
Could you please raise a support ticket at https://support.atlassian.com with a sample wiki markup used for this issue. So that we can further investigate to this issue. Thanks.
Regards,
MG
Aug 13, 2009
Anonymous
Hi all,
May I use the following code to display white characters on a black screen, looks like it's not working......
Thanks in advance.
Jeff
Aug 13, 2009
Zed Yap [Atlassian]
Hi Jeff,
I am afraid the color macro will not affect the text in the noformat macro.
I have a mere suggestion. You can try to create a User macro with style script in it. I have create an example:
Hope that helps.
Best rgds
Zed
Feb 16, 2011
Peter Riemann
Hi Zed,
i was looking for the same (black box, white text und no formating). I use it to display text that looks like a dos prompt or a console.
So I tried out your suggestion which works very well. I find out that the text within every noformat-macro turns to white. Which means that I cannot combine black-on-white and white-on-black.
That is not a big problem if only noformat-macros are affected. I tested panel-macro and info-macro which are not affected by the style-command. Can you give me some background informations about the impacts of using the TestColor-macro?
Thanks in advance
Peter
Oct 11, 2011
Billy Schneider
Is it no longer possible to specify "borderStyle", "title", or other options to the noformat macro in Confluence 4 as it was in previous versions?! I also just here tried to make borderStyle and title words preformatted using the brackets ({{ and }}), which again does not appear possible. It seems to be either the entire paragraph formatted, or nothing.
Add Comment