Page tree
Viewable by the world
Skip to end of metadata
Go to start of metadata

Displaying lines of code

To show blocks of code, use either the Noformat or Code Block macro.

  1. Wiki code: Noformat macro
    • What you type:
      {noformat}
      I do not want this text formatted
      {noformat}
      
    • What you get:
      I do not want this text formatted
      
  2. XML code: Code Block macro
    • What you type:
      {code:XML}
      <test>
      <another tag="attribute"/>
      </test>
      {code}
      
    • What you get:
      <test>
      <another tag="attribute"/>
      </test>
  • No labels