![]() |
Page History
...
To display a larger amount of computer code on a wiki page, use the Code Block macro.
- Type {Code and when the macro browser opens select Code Block.
Enter the code in the macro panel.
one of the following macros:
- The No Format macro may be sufficient in many cases.
- The Code Block macro is more configurable.
In the examples that follow, each In the example that follows, a Code Block macro contains a URL so it would not be live on the page. This is useful for historical URLs. Most often this macro is used to display executable code so that reserved characters appear as they do in the code.
No Format macro
No Format |
---|
http://gforge.nci.nih.gov |
Code Block macro
Code Block |
---|
http://gforge.nci.nih.gov |