![]() |
Page History
...
The double curly brackets are rendered as follows in the XHTML:
Code Block |
---|
<code></code> |
Code Block
To display 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.
In the example that follows, a URL was entered 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.
Code Block |
---|
http://gforge.nci.nih.gov |