Noformat Macro

Add the Noformat macro to a page to display text in monospace font with no other formatting.

This is a legacy macro, and is similar to the Code Block Macro, but doesn't provide any additional functionality such as line numbering or syntax highlighting. 

On this page:

Add this macro to your page

To add the Noformat macro to a page:

  1. From the editor toolbar, choose Insert > Other Macros.
  2. Choose Noformat from the Formatting category.
  3. Choose Insert
  4. Paste or type your text into the macro body.

You can then publish your page to see the macro in action. 

Screenshot: the Noformat macro in the editor


Change the macro parameters

Macro parameters are used to change the behaviour of a macro.

To change the macro parameters:

  1. In the editor, click the macro placeholder and choose Edit.
  2. Update the parameters as required then choose Insert.

Here's a list of the parameters available in this macro. 

Parameter

Default

Description

No Panel
(nopanel

False

Removes the panel around the content.

Where the parameter name used in Confluence storage format or wikimarkup is different to the label used in the macro browser, it will be listed below in brackets (example).

Other ways to add this macro

Add this macro as you type

Type followed by the start of the macro name, to see a list of macros. 

Add this macro using wiki markup

This is useful when you want to add a macro outside the editor, for example as custom content in the sidebar, header or footer of a space.

Macro name: noformat

Macro body: Accepts plain text.

{noformat:nopanel=true}http://www.example.com{noformat}
Last modified on Oct 13, 2023

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.