NIH | National Cancer Institute | NCI Wiki  

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Type the double curly brackets in the Confluence editor.The double curly brackets are rendered as follows , 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 Block
<code></code>

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

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

Multiexcerpt include
MultiExcerptName

...

ExitDisclaimer
nopaneltrue
PageWithExcerptwikicontent:Exit Disclaimer to Include

Block of Code

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:

In the examples that follow, each macro contains a URL 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.

No Format macro

No Format
http://gforge.nci.nih.gov

Code Block macro

Code Block
http://gforge.nci.nih.gov