This documentation relates to the latest version of Confluence.
If you are using an earlier version, please go to the documentation home page and select the relevant version.

Noformat Macro

All Versions
Click for all versions
Confluence 2.9 Documentation

Index

The Noformat Macro displays a block of text in monospace font with no other formatting.

Noformat Macro

What you need to type What you will get
{noformat}
I do not want this text formatted!
{noformat}
I do not want this text formatted!

Optional parameters

Remove the panel around the text

What you need to type What you will get
{noformat:nopanel=true}
I do not want this text formatted!
{noformat}
I do not want this text formatted!

Format the panel

All the optional parameters of the Panel macro are valid for the Noformat macro too.

RELATED TOPICS

Working with Macros

Take me back to Confluence User Guide

Labels:

Enter labels to add to this page:
Wait Image 
Looking for a label? Just start typing.
  1. Nov 11, 2006

    KC Baltz says:

    Note: The second example is incorrect in the "What you need to type" column. It ...

    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}

    1. Nov 11, 2006

      Guy Fraser says:

      Nope, it should be: \ I do not want this text formatted! \

      Nope, it should be:

      {noformat:nopanel=true}
      I do not want this text formatted!
      {noformat}

      1. Feb 18, 2007

        Andreas Knecht says:

        Sorry about that. I've just fixed up the docs, with the correct syntax.

        Sorry about that. I've just fixed up the docs, with the correct syntax.

  2. Feb 14, 2008

    IP says:

    this has frustrated me a lot, I have used other Wikies, but with Confluence, jus...

    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.

    1. Feb 14, 2008

      Bob Swift says:

      CamelCase is an option under Administration>General configuration/ I always turn...

      CamelCase is an option under Administration->General configuration/ I always turn it off.

  3. Jun 27

    Anonymous says:

    Is there any way I could create a user macro based on this that would have the m...

    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}
    
    1. Jul 02

      Tony Cheah Tong Nyee says:

      Hi there, You might be interested to try the Panel macro

      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 monospace markup 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

Add Comment