GOODJINC44 downloadsShows configurable file-type icons for linked attachments without changing Markdown.
English | 한국어
An Obsidian community plugin that adds configurable file-type icons to regular internal links for attachments. It never changes your Markdown and skips embedded files and previews.
Attachment links are often given a clear, human-friendly display name. That keeps notes tidy, but it also hides whether a link opens an image, a PDF, or a spreadsheet. Attachment Type Icons preserves the clean link text and adds just enough visual context to recognize the file type at a glance.
Before — file types are hidden behind link text
![]()
After — icons make the link target clear
![]()
Write a normal internal link with an optional display name:
[[90_Attachments/images/photo.jpg|Laundry-room measurement]]
With the default icon position, Reading view displays it as:
🖼️ Laundry-room measurement
The icon is added only to the rendered link. Your Markdown, file name, and link alias are never changed.
Requires Obsidian 1.8.7 or later.
main.js, manifest.json, and styles.css from the latest release.<your-vault>/.obsidian/plugins/attachment-type-icons/.The following types are enabled by default. All extension matching is case-insensitive.
| Type | Default icon | Default extensions |
|---|---|---|
| Images | 🖼️ | jpg, jpeg, png, gif, webp, svg, heic |
| PDF & documents | 📄 | pdf, doc, docx, hwp, txt, rtf |
| Spreadsheets | 📊 | xlsx, xls, csv, ods |
| Audio | 🔊 | mp3, m4a, wav, ogg, flac |
| Video | 🎬 | mp4, mov, webm, mkv |
| Archives | 📦 | zip, 7z, rar, tar, gz |
Markdown note links are available as an optional type with the 📝 icon, and are disabled by default.
Open Settings → Attachment Type Icons to customize the built-in types or add your own types.
The settings page follows Obsidian's app language. Korean is shown when Obsidian is set to Korean; all other app languages use English.
Use Add file type to create a type such as Ebooks with the 📚 icon and epub, mobi, pdf extensions. Custom types can also be deleted from the settings page.
Rules are selected in this order:
In short: matching folder-specific type → matching general type → no icon. Use the up and down buttons to decide which type wins when rules in the same group overlap. Moving a general type above a folder-specific type does not override the folder-specific match.
For example, suppose the list is ordered like this:
1. PDF documents | pdf | Any folder | 📄
2. Research papers | pdf | Books/Research | 🔬
3. Ebooks | pdf, epub | Books | 📚
Books/Novel.pdf uses 📚 because only the Ebooks folder rule matches.Books/Research/Paper.pdf uses 🔬 because both folder rules match and Research papers is higher in the list.Work/Report.pdf uses 📄 because no folder-specific rule matches.To make the research PDF use 📚 instead, move Ebooks above Research papers.
For example, add heif and avif to the Images extensions field:
jpg, jpeg, png, gif, webp, svg, heic, heif, avif
You may include leading dots if you prefer (.pdf, .epub). They are removed automatically, so both .PDF and pdf work the same way.
For example, an Ebooks type limited to the Books folder can use pdf without changing PDF icons elsewhere in the vault:
Name: Ebooks
Icon: 📚
Extensions: epub, mobi, pdf
Folders: Books
![[photo.jpg]], because their preview already identifies the file.npm install
npm run dev
Use npm run build for the minified release bundle.