jointrashposs/content/cn/docs/2.for-users/3.features/mfm.md
かっこかり d7ad8387a9
New Crowdin updates (#92)
* New translations 1.about-misskey.md (French)

* New translations 2.get-started.md (French)

* New translations 3.join-server.md (French)

* New translations 4.things-to-know.md (French)

* New translations ads.md (French)

* New translations drive.md (French)

* New translations mfm.md (French)

* New translations mute-and-block.md (French)

* New translations pages.md (French)

* New translations poll.md (French)

* New translations thread-mute.md (French)

* New translations webhook.md (French)

* New translations 1.troubleshooting.md (French)

* New translations donate.md (French)

* New translations misskey-hub.md (French)

* New translations announcement.md (French)

* New translations role.md (French)

* New translations 1.index.md (French)

* New translations bash.md (French)

* New translations docker.md (French)

* New translations kubernetes.md (French)

* New translations manual.md (French)

* New translations ubuntu-manual.md (French)

* New translations cdn.md (French)

* New translations disable-timelines.md (French)

* New translations 1.index.md (French)

* New translations permission.md (French)

* New translations 1.index.md (French)

* New translations token.md (French)

* New translations 5.releases.md (French)

* New translations 1.about-misskey.md (Italian)

* New translations 2.get-started.md (Italian)

* New translations 3.join-server.md (Italian)

* New translations 4.things-to-know.md (Italian)

* New translations ads.md (Italian)

* New translations drive.md (Italian)

* New translations mfm.md (Italian)

* New translations mute-and-block.md (Italian)

* New translations pages.md (Italian)

* New translations poll.md (Italian)

* New translations share-form.md (Italian)

* New translations thread-mute.md (Italian)

* New translations webhook.md (Italian)

* New translations 1.troubleshooting.md (Italian)

* New translations donate.md (Italian)

* New translations misskey-hub.md (Italian)

* New translations announcement.md (Italian)

* New translations role.md (Italian)

* New translations 1.index.md (Italian)

* New translations bash.md (Italian)

* New translations docker.md (Italian)

* New translations kubernetes.md (Italian)

* New translations manual.md (Italian)

* New translations ubuntu-manual.md (Italian)

* New translations cdn.md (Italian)

* New translations disable-timelines.md (Italian)

* New translations 1.index.md (Italian)

* New translations permission.md (Italian)

* New translations 1.index.md (Italian)

* New translations token.md (Italian)

* New translations 5.releases.md (Italian)

* New translations 1.about-misskey.md (Korean)

* New translations 1.warning.md (Korean)

* New translations 2.get-started.md (Korean)

* New translations 3.join-server.md (Korean)

* New translations 4.things-to-know.md (Korean)

* New translations ads.md (Korean)

* New translations drive.md (Korean)

* New translations mfm.md (Korean)

* New translations mute-and-block.md (Korean)

* New translations pages.md (Korean)

* New translations poll.md (Korean)

* New translations share-form.md (Korean)

* New translations thread-mute.md (Korean)

* New translations webhook.md (Korean)

* New translations 1.troubleshooting.md (Korean)

* New translations donate.md (Korean)

* New translations misskey-hub.md (Korean)

* New translations announcement.md (Korean)

* New translations role.md (Korean)

* New translations 1.index.md (Korean)

* New translations bash.md (Korean)

* New translations docker.md (Korean)

* New translations kubernetes.md (Korean)

* New translations manual.md (Korean)

* New translations ubuntu-manual.md (Korean)

* New translations cdn.md (Korean)

* New translations disable-timelines.md (Korean)

* New translations 1.index.md (Korean)

* New translations permission.md (Korean)

* New translations 1.index.md (Korean)

* New translations token.md (Korean)

* New translations 5.releases.md (Korean)

* New translations 1.about-misskey.md (Polish)

* New translations 2.get-started.md (Polish)

* New translations 3.join-server.md (Polish)

* New translations 4.things-to-know.md (Polish)

* New translations ads.md (Polish)

* New translations drive.md (Polish)

* New translations mfm.md (Polish)

* New translations mute-and-block.md (Polish)

* New translations pages.md (Polish)

* New translations poll.md (Polish)

* New translations share-form.md (Polish)

* New translations thread-mute.md (Polish)

* New translations webhook.md (Polish)

* New translations 1.troubleshooting.md (Polish)

* New translations donate.md (Polish)

* New translations misskey-hub.md (Polish)

* New translations announcement.md (Polish)

* New translations role.md (Polish)

* New translations 1.index.md (Polish)

* New translations bash.md (Polish)

* New translations docker.md (Polish)

* New translations kubernetes.md (Polish)

* New translations manual.md (Polish)

* New translations ubuntu-manual.md (Polish)

* New translations cdn.md (Polish)

* New translations disable-timelines.md (Polish)

* New translations 1.index.md (Polish)

* New translations permission.md (Polish)

* New translations 1.index.md (Polish)

* New translations token.md (Polish)

* New translations 5.releases.md (Polish)

* New translations ja-jp.yml (Chinese Simplified)

* New translations 1.about-misskey.md (Chinese Simplified)

* New translations 2.get-started.md (Chinese Simplified)

* New translations 3.join-server.md (Chinese Simplified)

* New translations 4.things-to-know.md (Chinese Simplified)

* New translations ads.md (Chinese Simplified)

* New translations drive.md (Chinese Simplified)

* New translations mfm.md (Chinese Simplified)

* New translations mute-and-block.md (Chinese Simplified)

* New translations pages.md (Chinese Simplified)

* New translations poll.md (Chinese Simplified)

* New translations share-form.md (Chinese Simplified)

* New translations thread-mute.md (Chinese Simplified)

* New translations webhook.md (Chinese Simplified)

* New translations 1.troubleshooting.md (Chinese Simplified)

* New translations donate.md (Chinese Simplified)

* New translations misskey-hub.md (Chinese Simplified)

* New translations announcement.md (Chinese Simplified)

* New translations role.md (Chinese Simplified)

* New translations 1.index.md (Chinese Simplified)

* New translations bash.md (Chinese Simplified)

* New translations docker.md (Chinese Simplified)

* New translations kubernetes.md (Chinese Simplified)

* New translations manual.md (Chinese Simplified)

* New translations ubuntu-manual.md (Chinese Simplified)

* New translations cdn.md (Chinese Simplified)

* New translations disable-timelines.md (Chinese Simplified)

* New translations 1.index.md (Chinese Simplified)

* New translations permission.md (Chinese Simplified)

* New translations 1.index.md (Chinese Simplified)

* New translations token.md (Chinese Simplified)

* New translations 5.releases.md (Chinese Simplified)

* New translations 1.about-misskey.md (Chinese Traditional)

* New translations 2.get-started.md (Chinese Traditional)

* New translations 3.join-server.md (Chinese Traditional)

* New translations 4.things-to-know.md (Chinese Traditional)

* New translations ads.md (Chinese Traditional)

* New translations drive.md (Chinese Traditional)

* New translations mfm.md (Chinese Traditional)

* New translations mute-and-block.md (Chinese Traditional)

* New translations pages.md (Chinese Traditional)

* New translations poll.md (Chinese Traditional)

* New translations share-form.md (Chinese Traditional)

* New translations thread-mute.md (Chinese Traditional)

* New translations webhook.md (Chinese Traditional)

* New translations 1.troubleshooting.md (Chinese Traditional)

* New translations donate.md (Chinese Traditional)

* New translations misskey-hub.md (Chinese Traditional)

* New translations announcement.md (Chinese Traditional)

* New translations role.md (Chinese Traditional)

* New translations 1.index.md (Chinese Traditional)

* New translations bash.md (Chinese Traditional)

* New translations docker.md (Chinese Traditional)

* New translations kubernetes.md (Chinese Traditional)

* New translations manual.md (Chinese Traditional)

* New translations ubuntu-manual.md (Chinese Traditional)

* New translations cdn.md (Chinese Traditional)

* New translations disable-timelines.md (Chinese Traditional)

* New translations 1.index.md (Chinese Traditional)

* New translations permission.md (Chinese Traditional)

* New translations 1.index.md (Chinese Traditional)

* New translations token.md (Chinese Traditional)

* New translations publish-on-your-website.md (Chinese Traditional)

* New translations 5.releases.md (Chinese Traditional)

* New translations 1.about-misskey.md (English)

* New translations 2.get-started.md (English)

* New translations 3.join-server.md (English)

* New translations 4.things-to-know.md (English)

* New translations ads.md (English)

* New translations drive.md (English)

* New translations mfm.md (English)

* New translations mute-and-block.md (English)

* New translations pages.md (English)

* New translations poll.md (English)

* New translations share-form.md (English)

* New translations thread-mute.md (English)

* New translations webhook.md (English)

* New translations 1.troubleshooting.md (English)

* New translations donate.md (English)

* New translations misskey-hub.md (English)

* New translations announcement.md (English)

* New translations role.md (English)

* New translations 1.index.md (English)

* New translations bash.md (English)

* New translations docker.md (English)

* New translations kubernetes.md (English)

* New translations manual.md (English)

* New translations ubuntu-manual.md (English)

* New translations cdn.md (English)

* New translations disable-timelines.md (English)

* New translations 1.index.md (English)

* New translations permission.md (English)

* New translations 1.index.md (English)

* New translations token.md (English)

* New translations 5.releases.md (English)

* New translations 1.about-misskey.md (Indonesian)

* New translations 2.get-started.md (Indonesian)

* New translations 3.join-server.md (Indonesian)

* New translations 4.things-to-know.md (Indonesian)

* New translations ads.md (Indonesian)

* New translations drive.md (Indonesian)

* New translations mfm.md (Indonesian)

* New translations mute-and-block.md (Indonesian)

* New translations pages.md (Indonesian)

* New translations poll.md (Indonesian)

* New translations share-form.md (Indonesian)

* New translations thread-mute.md (Indonesian)

* New translations webhook.md (Indonesian)

* New translations 1.troubleshooting.md (Indonesian)

* New translations donate.md (Indonesian)

* New translations misskey-hub.md (Indonesian)

* New translations announcement.md (Indonesian)

* New translations role.md (Indonesian)

* New translations 1.index.md (Indonesian)

* New translations bash.md (Indonesian)

* New translations docker.md (Indonesian)

* New translations kubernetes.md (Indonesian)

* New translations manual.md (Indonesian)

* New translations ubuntu-manual.md (Indonesian)

* New translations cdn.md (Indonesian)

* New translations disable-timelines.md (Indonesian)

* New translations 1.index.md (Indonesian)

* New translations permission.md (Indonesian)

* New translations 1.index.md (Indonesian)

* New translations token.md (Indonesian)

* New translations 5.releases.md (Indonesian)
2023-12-29 13:23:03 +09:00

7.8 KiB

description
MFMは、Misskeyの様々な場所で使用できる専用のマークアップ言語です。

MFM

MFMは、Markup language For Misskeyの略で、Misskeyの様々な場所で使用できる専用のマークアップ言語です。

:::tip

一部の構文はMarkdownやHTMLと互換性があります。

:::

MFMが使用可能な場所の例

  • ノート本文
  • CW注釈
  • ユーザーの名前
  • ユーザーの自己紹介

構文

メンション

アットマーク + ユーザー名で、特定のユーザーを示すことができます。 :::tip

メンションについての詳細はこちらを参照してください。

:::

@ai

@repo@p1.a9z.dev

ハッシュタグ

ナンバーサイン + タグで、ハッシュタグを示すことができます。 :::tip

ハッシュタグについての詳細はこちらを参照してください。

:::

#misskey

URL

URLを示すことができます。

https://example.com

リンク

文章の特定の範囲を、URLに紐づけることができます。

[example link](https://example.com)

:::tip

リンクテキストの前に?をつけると、リンクプレビューを非表示にすることができます。

?[example link](https://example.com)

:::

カスタム絵文字

コロンでカスタム絵文字名を囲むと、カスタム絵文字を表示させることができます。

:::tip

カスタム絵文字についての詳細はこちらを参照してください。

:::

:misskey:

太字

文字を太く表示して強調することができます。

**太字**

目立たなくする

内容を小さく・薄く表示させることができます。

<small>MisskeyでFediverseの世界が広がります</small>

引用

内容が引用であることを示すことができます。

> MisskeyでFediverseの世界が広がります

中央寄せ

内容を中央寄せで表示させることができます。

<center>MisskeyでFediverseの世界が広がります</center>

コード(インライン)

プログラムなどのコードをインラインでシンタックスハイライトします。

`<: "Hello, world!"`

コード(ブロック)

複数行のプログラムなどのコードをブロックでシンタックスハイライトします。

~ (#i, 100) {
	<: ? ((i % 15) = 0) "FizzBuzz"
		.? ((i % 3) = 0) "Fizz"
		.? ((i % 5) = 0) "Buzz"
		. i
}

反転

内容を上下または左右に反転させます。

$[flip MisskeyでFediverseの世界が広がります]
$[flip.v MisskeyでFediverseの世界が広がります]
$[flip.h,v MisskeyでFediverseの世界が広がります]

フォント

内容のフォントを指定することができます。

$[font.serif MisskeyでFediverseの世界が広がります]
$[font.monospace MisskeyでFediverseの世界が広がります]
$[font.cursive MisskeyでFediverseの世界が広がります]
$[font.fantasy MisskeyでFediverseの世界が広がります]

ぼかし

内容をぼかすことができます。ポインターを上に乗せるとはっきり見えるようになります。

$[blur MisskeyでFediverseの世界が広がります]

検索

検索ボックスを表示できます。

misskey 検索

文字色・背景色

文字色と背景色を変更することができます。

3,4,6桁のカラーコードで色を表現します。

$[fg.color=f00 赤字]
$[bg.color=ff0 黄背景]

角度変更

指定した角度で回転させます。

$[rotate.deg=30 misskey]

位置変更

位置をずらすことができます。

😏$[position.x=0.8,y=0.5 🍮]😀

拡大

文字を引き延ばして表示します。

$[scale.x=4,y=2 🍮]

$[x2 x2]
$[x3 x3]
$[x4 x4]

アニメーション(びよんびよん)

$[jelly 🍮] $[jelly.speed=5s 🍮]

アニメーション(じゃーん)

$[tada 🍮] $[tada.speed=5s 🍮]

アニメーション(ジャンプ)

$[jump 🍮] $[jump.speed=5s 🍮]

アニメーション(バウンド)

$[bounce 🍮] $[bounce.speed=5s 🍮]

アニメーション(回転)

$[spin 🍮] $[spin.left 🍮] $[spin.alternate 🍮]
$[spin.x 🍮] $[spin.x,left 🍮] $[spin.x,alternate 🍮]
$[spin.y 🍮] $[spin.y,left 🍮] $[spin.y,alternate 🍮]

$[spin.speed=5s 🍮]

アニメーション(ぶるぶる)

$[shake 🍮] $[shake.speed=5s 🍮]

アニメーション(ブレ)

$[twitch 🍮] $[twitch.speed=5s 🍮]

レインボー

$[rainbow 🍮] $[rainbow.speed=5s 🍮]
$[rainbow 色なし文字]
$[rainbow $[fg.color=f0f 色付き文字]]

キラキラ

$[sparkle 🍮]

プレーン

内側の構文を全て無効にします。

<plain>**bold** @mention #hashtag `code` $[x2 🍮]</plain>

開発者向け情報

MFMのパーサー実装はライブラリとして公開されており、簡単にクライアントにMFMを組み込むことが可能です。