Noformat マクロは、他の書式設定なしで等幅フォントでテキストのブロックを表示します。

Noformat マクロの使用

ページに Noformat マクロを追加する方法

  1. Confluence のエディタで、[挿入] > [その他のマクロ] を選択します。
  2. 対象のマクロを見つけて、選択します。

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.

既存のマクロを編集する方法: マクロのプレースホルダをクリックして、[編集] を選択します。マクロのパラメータが編集可能な場合、マクロのダイアログ ウィンドウが開きます。

マクロのプレースホルダーの本文に書式設定されていないコンテンツを入力します。

パラメーター

Parameters are options that you can set to control the content or format of the macro output. Where the parameter name used in Confluence storage format or wikimarkup is different to the label used in the macro browser, it will be listed below in brackets (example).

パラメーター

既定

説明

パネルなし
(nopanel

False

コンテンツの周りのパネルを削除します。

コー​​ドの例

次の例は、Confluence ページの基本的なマークアップを調べたり、編集したりする上級ユーザー向けに提供されています。 

マクロ名: noformat

マクロ本文:プレーンテキストをアクセプトする

保存形式の例

<ac:structured-macro ac:name="noformat">
  <ac:parameter ac:name="nopanel">true</ac:parameter>
  <ac:plain-text-body><![CDATA[http://www.example.com]]></ac:plain-text-body>
</ac:structured-macro>

Wiki マークアップの例

{noformat:nopanel=true}http://www.example.com{noformat}

 

 

  • ラベルなし