画像と添付ファイル

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

画像を追加、またはファイルを添付するには、まずサイドバーの「Attachments」欄のリンク「Edit」からアップロードします。

ファイルをアップロードする際、「Slug」欄に名前を指定できます。 使用できる文字は、半角英数字とハイフンマイナス (-) です。 アップロード後、以下のようにして参照することができます。

{{name}}

たとえば、「mariadb」という名前の画像をこの記事に添付し、以下のコードを記述します。

{{mariadb}}

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

mariadb


同じように、「mariadb-seal-pdf」という名前の PDF ファイルを添付します。 以下のようにして、そのファイルへのリンクを追加できます。

{{mariadb-seal-pdf}}

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

mariadb-seal-pdf


リンク と同じように、リンクテキストを設定することができます。 画像の場合は、alt 属性に反映されます。

{{mariadb-seal-pdf|MariaDB のロゴ (PDF)}}
{{mariadb|MariaDB}}

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

MariaDB のロゴ (PDF) MariaDB

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.