<<fixed>> マクロ

You are viewing an old version of this article. View the current version here.

構文

<<fixed [indent=L]>>
  • indent について、L を字下げレベル (1〜4) に置き換えてください。 (リスト の余白の大きさと対応しています)

概要

<<fixed>> はテキストを等幅フォントで表示します。<<code>> マクロ と似ていますが、場所によっては <<fixed>> を使った方が良い場合もあります。

使用例

例 1

<<fixed>>等幅フォントのテキスト。<</fixed>>

次のように表示されます:

等幅フォントのテキスト。

例 2

<<fixed>>
等幅フォントのテキスト。
<</fixed>>

次のように表示されます:

等幅フォントのテキスト。

例 3

<<fixed>> ブロックは、<<code>> ブロックに含めることのできない構文をいくつか内包できます。たとえば以下のように。

<<fixed>>
* 2つの
* リスト

および [[mariadb|リンク]] が

# <<fixed>> 
# ブロックの
# 中に
<</fixed>>

<<code>>
* 2つの
* リスト

および [[mariadb|リンク]] が

# <<code>> 
# ブロックの
# 中に
<</code>>

次のように表示されます:

  • 2つの
  • リスト

および リンク

  1. <<fixed>>
  2. ブロックの
  3. 中に
* 2つの
* リスト

および [[mariadb|リンク]] が

# <<code>> 
# ブロックの
# 中に

Comments

Comments loading...
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.