Giter VIP home page Giter VIP logo

obsidian-custom-icons's Introduction

Custom Icons

Enhance your workspace with customizable icons for documents and folders.

Tips: 插件安装后需要重新启动当前Obsidian库才能加载到设置数据。

Tips: After installing the plugin, you need to restart the current Obsidian vault to load the setting data.

Usage

Currently, there are two ways to set the icons:

  • Custom: This includes using online URLs, local relative or absolute file paths, Base64 encodings, or SVG tags.
  • Lucide icons: This method requires only the name of the icon from Lucide. Note that the official Obsidian icons also use Lucide icons.

Examples

  • Online URL: https://www.example.com/favicon.ico
  • Local images:
    • Relative path: .obsidian/svg/example.svg
    • Absolute path (Unix-style): /Users/YourUsername/Pictures/example.jpg
    • Absolute path (Windows-style): D:\Pictures\example.png
  • Base64 encoding: Starting with data:
  • SVG tags: Enclosed within <svg></svg> tags
  • Lucide source icons: Directly use the icon name from Lucide.

Usage

Installation

Install from Community Plugins

Click to install, or:

  1. Open Obsidian and go to Settings > Community Plugins.
  2. Search for "Custom Icons".
  3. Click "Install".

Install via BRAT Plugin

  1. Install the BRAT plugin from Community Plugins.
  2. In the BRAT plugin settings, click "Add Beta Plugin".
  3. Enter the URL https://github.com/RavenHogWarts/obsidian-custom-icons.
  4. Enable "Custom Icons" in "Third-party Plugins".

Manual Installation

  1. Download the latest release from Releases.
  2. Copy main.js, styles.css and manifest.json to VaultFolder/.obsidian/plugins/custom-sidebar-icons/.
  3. Reload plugins and enable "Custom Icons" in "Third-party Plugins".

How to Build

  1. Clone the repository: git clone https://github.com/RavenHogWarts/obsidian-custom-icons.
  2. Install dependencies: npm install.
  3. Start development: npm run dev.
  4. Build for production: npm run build.

License

Custom Icons is licensed under the MIT License. See LICENSE for more information.

Acknowledgements

Support

If you find this plugin useful and wish to support its development, you can do so through the following methods: WeChat, Alipay, Love Power Donation or Paypal. Any amount of support is appreciated. Thank you!

obsidian-custom-icons's People

Contributors

ravenhogwarts avatar

Stargazers

Marius Wörfel avatar Arran France avatar  avatar  avatar  avatar Kuriboh avatar Benature Wong avatar  avatar

Watchers

 avatar

obsidian-custom-icons's Issues

Drag and sort

yo, bro, I want to make a wish for a feature: Drag and sort
In this way, I can more easily see the icon effect between folders and folders.

同时为多个文件后缀添加图标

比如图片格式,.png,.jpg,.jpeg等,如果使用同一图标,需要重复设置,比较麻烦

或许将path改成数组类型,可以为多个后缀添加一个图标,减少操作步骤

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.