Confluence 5.7 のサポートは終了しています。
ドキュメントの最新バージョンを確認してください。
HTML マクロを使用すると、Confluence ページに HTML コードを追加できます。
HTML マクロは既定では無効になっています
HTML マクロは、管理者によって有効化されている場合にのみ利用可能です。 このマクロを有効にすると、Confluence サイトがクロスサイトスクリプティング攻撃に対して脆弱になります。
To add the HTML macro to a page: Speeding up macro entry with autocomplete: Type { and the beginning of the macro name, to see a list of suggested macros. Details are in Using Autocomplete. 既存のマクロを編集する方法: マクロのプレースホルダをクリックして、[編集] を選択します。マクロのパラメータが編集可能な場合、マクロのダイアログ ウィンドウが開きます。
マクロ プレースホルダーの本文に HTML コードを入力します。
HTML マクロは既定では無効になっています。このマクロを有効化するには、Confluence 管理者権限またはシステム管理者権限が必要です。
Enabling these macros can make your Confluence site vulnerable to cross-site scripting attacks. You should only turn on these macros if you trust all your users not to attempt to exploit them. We strongly recommend leaving this macro disabled if you allow self-signed up or anonymous users to create content.
HTML マクロを有効化する方法
Go to . > Add-ons
次の例は、Confluence ページの基本的なマークアップを調べたり、編集したりする上級ユーザー向けに提供されています。
マクロ名: html
マクロ本文: HTML コードで構成されるテキスト
パラメーター: なし
<
ac:structured-macro
ac:name
=
"html"
>
<
ac:plain-text-body
>
<![CDATA[<a href="http://www.atlassian.com">Click here</a> to see the <b>Atlassian</b> website.]]>
</
ac:plain-text-body
>
</
ac:structured-macro
>
{html}Click here to see the Atlassian website.{html}