Icon File Type

by Nuno Ricardo
5
4
3
2
1
Score: 50/100

Description

Reviews

No reviews yet.

Stats

0
stars
37
downloads
0
forks
7
days
7
days
7
days
0
total PRs
0
open PRs
0
closed PRs
0
merged PRs
0
total issues
0
open issues
0
closed issues
7
commits

Latest Version

8 days ago

Changelog

Fixed

  • Removed the :has() selector from the stylesheet (performance lint warning); rows with an icon now get an ift-has-icon class instead.

README file from

Github

Icon File Type

An Obsidian plugin that shows small file-type icons next to non-Markdown files in the File Explorer sidebar.

Office documents, PDFs, images, audio, video, archives, code files, and eBooks each get a recognisable icon so you can distinguish them at a glance without relying on the filename extension alone.

Features

  • Zero configuration — icons appear automatically on startup
  • Stays in sync: icons update when you rename, create, or delete files
  • Uses PNG icons for Office/PDF files and compact SVG badges for everything else
  • Lightweight: no external dependencies, no network calls

Supported file types

Category Extensions
Documents .pdf, .doc, .docx, .odt
Spreadsheets .xls, .xlsx, .ods
Presentations .ppt, .pptx, .odp
Images .png, .jpg, .jpeg, .gif, .webp, .svg, .bmp, .tiff
Data .csv, .json, .xml, .yaml, .yml
Archives .zip, .rar, .7z, .tar, .gz
Audio .mp3, .wav, .ogg, .flac, .m4a, .aac
Video .mp4, .mov, .avi, .mkv, .webm
Web / Code .html, .htm, .js, .ts, .py, .css
eBook .epub

Installation

In Obsidian, open Settings → Community plugins → Browse, search for Icon File Type, then install and enable it.

Manual install

Download main.js, manifest.json and styles.css from the latest release into <vault>/.obsidian/plugins/icon-file-type/, then enable the plugin in Settings → Community plugins.

Development

See docs/setup.md. In short: npm install, then npm run dev (watch) or npm run build.

Contributing

See CONTRIBUTING.md.

License

MIT, see LICENSE.