nonkuri2k downloadsCreate callouts with a type-selection dialog or inline autocomplete, remove them along with quote markers, and navigate the current note's callouts from a sidebar list.
An Obsidian plugin that quickly inserts callouts in two ways: a type-selection dialog command, and autocomplete that pops up when you type [! in a quote block. In both, the suggestions are ordered by most recently used. A remove command strips callouts and their quote markers. A sidebar list shows the current note's callouts and lets you jump to them.
wa → warning), pick with ↑/↓ + Enter or a mouse click[! right after > pops up the same suggestion list[!wa → warning)[!warning] )The inserted callout is the simple form (type only, no fold marker):
> [!note]
> body text
Run Insert Callout: Open callout list from the command palette, or click the Open callout list ribbon icon, to open a Callouts tab in the right sidebar. It lists callouts in the current note in document order, with their type icons and titles (or the type name when no title is supplied). Nested quotes are indented. Click an entry, or focus it with Tab and press Enter, to jump to its location. The list follows note changes and updates shortly after editing. It excludes fenced code examples, indented code, frontmatter, and comments. Custom callout types are included. The tab can be moved or closed like other Obsidian sidebar tabs; the command reopens it. The list covers the current note, not the entire vault. If the note changes before a click is processed, the list refreshes and asks you to select the entry again.
Run the Remove command with the cursor anywhere inside a callout:
> [!type] heading line is deleted, and one level of quote markers is stripped
from the rest of the block — so a plain callout becomes plain text, quoting included> [!note] Title), the title is kept as the first body line> > text → > text)> [!note] → body text
> body text
]
right after the cursor is not duplicated. Keep this on if Obsidian auto-pairs [ with ].Requires Obsidian 1.13.0 or later. Copy the following files into .obsidian/plugins/insert-callout/ in your vault,
then enable the plugin under Settings → Community plugins:
main.jsmanifest.jsonstyles.cssWhen updating manually, replace all three files with the assets from the same release, then reload the plugin (disable and enable it) or restart Obsidian.
npm install
npm run build # type check + build main.js
npm test # callout list regression tests
npm run dev # watch build
Obsidian に Callout を素早く挿入するプラグイン。種類選択ダイアログを開くコマンドと、
引用ブロック内で [! と入力すると表示されるオートコンプリートの2つの方法があり、
どちらも候補は最近使った順に並ぶ。引用ごと Callout を解除するコマンドと、
現在のノートの Callout を一覧表示してその位置へ移動できるサイドバーもある。
wa → warning)、↑↓ + Enter またはクリックで決定> の直後に [! と入力すると候補リストが表示される[!wa → warning)[!warning] )挿入されるのは種類のみのシンプルな形式(折りたたみ記号なし):
> [!note]
> 本文
コマンドパレットの Insert Callout: Open callout list、またはリボンの Open callout list アイコンで、右サイドバーに Callouts タブを開ける。 現在のノートの Callout を出現順に、種類のアイコンとタイトルで表示する。 タイトルがない場合は種類名を表示し、入れ子の引用はインデントする。 項目をクリックするか、Tab で選択して Enter を押すと、その位置へ移動する。 ノートを切り替えると一覧も切り替わり、編集内容は少し待つと自動反映される。 コードブロック・インデントされたコード・フロントマター・コメントは対象外。 カスタム Callout も表示できる。タブは通常のサイドバーと同様に移動・閉じることができ、 閉じた後はコマンドから再表示できる。 一覧の対象は現在のノートで、Vault 全体ではない。編集直後などに古い一覧をクリックした場合は、 一覧を更新して再選択を案内する。
Callout 内にカーソルを置いてコマンド Remove を実行する。
> [!type] の見出し行を削除し、残りの行から引用マーカーを1段分だけ剥がす。
通常の Callout なら引用状態ごと解除され、ただのテキストに戻る> [!note] タイトル)の場合、タイトルは本文の1行目として残す> > 本文 → > 本文)> [!note] → 本文
> 本文
] を重複させない。Obsidian が [ の入力時に ] を
自動補完する環境ではオンのままにする。Obsidian 1.13.0 以降が必要。Vault の .obsidian/plugins/insert-callout/ に以下の3ファイルを置き、
Obsidian の設定 → コミュニティプラグイン で有効化する。
main.jsmanifest.jsonstyles.css手動更新時は、同じリリースの 3ファイルすべてを置き換え、プラグインをオフ→オンにするか Obsidian を再起動する。
npm install
npm run build # 型チェック + main.js 生成
npm test # Callout 一覧の回帰テスト
npm run dev # watch ビルド
※ Google Drive 上のフォルダでは npm install が失敗することがあるため、
その場合はローカルディスクにコピーしてビルドし、main.js を戻す。