NIH | National Cancer Institute | NCI Wiki  

WIKI MAINTENANCE NOTICE

Please be advised that NCI Wiki will be will be undergoing maintenance on Monday, June 24th between 1000 ET and 1100 ET.
Wiki will remain available, but users may experience screen refreshes or HTTP 502 errors during the maintenance period. If you encounter these errors, wait 1-2 minutes, then refresh your page.

If you have any questions or concerns, please contact the CBIIT Atlassian Management Team.

You can display computer code on a wiki page either inline or as a block of code. 

Inline Code

The markup for monospace type is double curly brackets:

{{monospace type}}

Type the double curly brackets in the Confluence editor, followed by your monospaced content, followed by closing double curly brackets. The system converts the double curly brackets into the following markup in the XHTML:

<code></code>

For information on other keyboard shortcuts, refer to the following Atlassian help page:

https://confluence.atlassian.com/conf613/keyboard-shortcuts-964960192.html Exit Disclaimer logo

Block of Code

To display a larger amount of computer code on a wiki page, use one of the following macros:

In the examples that follow, each 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

http://gforge.nci.nih.gov

Code Block macro

http://gforge.nci.nih.gov
  • No labels