0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

【備忘録】Obsidianで添付したPNG画像が透過されてしまうのを無効化する方法

Last updated at Posted at 2025-08-07

Obsidianで透過PNG画像に背景色をつける方法(CSSスニペット)

手順

  1. Obsidianの設定メニューを開く
  2. 「外観」タブを開き、下にスクロールして「CSSスニペット」を探す
  3. 「フォルダを開く」アイコンを押して、snippets フォルダを開く
  4. そのフォルダ内にカスタムCSSファイル(例:no-transparent.css)を作成
  5. 「外観タブ」から作成したカスタムCSSを適用

ファイルの内容(no-transparent.css):

img {
  background-color: white !important;
}
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?