Confluence 2.5 のサポートは終了しています。
ドキュメントの最新バージョンを確認してください。
This page is outdated. Please see new page.
Allows you to display code in your document with the appropriate syntax highlighting.
Usage:
{code:language} ... code ... {code}
OR
{code} ... java code ... {code}
パラメーター |
必須 |
既定 |
説明 |
|---|---|---|---|
language |
いいえ |
Java |
Specify the programming language. Currently supported: Java, XML and SQL. |
Example 1: Java
{code}
public String getFoo()
{
return foo;
}
{code}
gives:
public String getFoo()
{
return foo;
}
Example 2: XML
{code:XML}
<test>
<another tag="attribute"/>
</test>
{code}
gives:
<test>
<another tag="attribute"/>
</test>
概要
コンテンツ ツール
アプリ
