Mermaid Icons

by toshs
5
4
3
2
1
Score: 45/100

Description

The Mermaid Icons plugin fixes Font Awesome icon rendering in Mermaid diagrams and extends support to additional icon sets. While Mermaid natively supports Font Awesome syntax, the icons don't render properly in Obsidian without this plugin. It loads the necessary stylesheets and fonts. Beyond fixing Font Awesome, it bundles popular icon sets like SVG Logos and Lucide icons letting you use them with custom prefixes (logos:icon-name, lucide:icon-name). A fuzzy search modal triggered by Cmd+Shift+m helps you quickly find and insert icons.

Reviews

No reviews yet.

Stats

17
stars
4,750
downloads
2
forks
230
days
119
days
119
days
2
total PRs
1
open PRs
0
closed PRs
1
merged PRs
2
total issues
0
open issues
2
closed issues
26
commits

Latest Version

4 months ago

Changelog

What's Changed

New Contributors

Full Changelog: https://github.com/toshs/obsidian-mermaid-icons/compare/1.1.3...1.2.0

README file from

Github

Obsidian Mermaid Icons Plugin

An example diagrams

This plugin for Obsidian allows you to easily use a wide variety of icons within your Mermaid diagrams.

It not only ensures that the default Font Awesome icons render correctly but also extends functionality to include other icons.

Features

  • Font Awesome Support: Correctly displays Font Awesome icons in mermaid diagrams, which are defaultly supported by Mermaid but not to be rendered properly in Obsidian.
  • Expanded Icon Sets: Adds support for additional icons pre-bundled with the plugin, including popular icons, logos, Lucide icons, and Clarity icons. (If you want to add more icon sets, please submit a Pull Request!)
  • Icon Insertion Helper: Easily search and insert icons using a fuzzy search modal, accessible via the command palette or a custom hotkey.
  • Icon Browser: Browse and filter all supported icons directly from the plugin settings.

How to Use

To include an icon in your Mermaid diagram, use the following syntax:

  • fa[bklrs]?:[icon-name] for Font Awesome icons.
  • [prefix]:[icon-name] for other custom icons.
    • Supported prefixes: logos, lucide, clarity.

Insert Icon Command

You can easily insert icons using the "Insert Mermaid Icon" command and its fuzzy search modal. By default, there is no hotkey assigned, but you can set one up in Obsidian's Hotkeys settings (e.g., Cmd+Shift+m or Ctrl+Shift+m).

Hotkey settings

Alternatively, you can open it without a hotkey:

  1. Open the Command Palette (Cmd+p or Ctrl+p).
  2. Type "mermaid icon" and select the "Insert Mermaid icon" command.
  3. Type to search for an icon.
  4. Select an icon to insert it into your document.

Fuzzy search modal

Example

Here is a simple Mermaid graph demonstrating how to use the icons:

```mermaid
graph LR
    A["fa:fa-house Home"]
    B["fa:fa-magnifying-glass Search"]
    C["fa:fa-gear Settings"]
    D["fa:fa-user-circle Profile"]

    A --> B --> C --> D
```

This will render a diagram with the corresponding Font Awesome icons.

An example flowchart diagrams

```mermaid
architecture-beta
    group api(logos:aws-lambda)[API]

    service db(logos:aws-aurora)[Database] in api
    service disk1(logos:aws-glacier)[Storage] in api
    service disk2(logos:aws-s3)[Storage] in api
    service server(logos:aws-ec2)[Server] in api

    db:L -- R:server
    disk1:T -- B:server
    disk2:T -- B:db
```

This will render a diagram with the corresponding SVG Logos Icon sets.

An example architecture diagrams

Settings

In the plugin settings, you can browse all supported icons under the Supported icons section.

  • Use the dropdown to filter by icon set (e.g., logos, lucide, clarity).
  • Use the search bar to find specific icons by name.

Installation

From Community Plugins

  1. Open Settings in Obsidian.
  2. Go to the Community plugins tab.
  3. Click Browse to open the community plugin browser.
  4. Search for "Mermaid Icons".
  5. Click Install on the plugin.
  6. Once installed, go back to the Community plugins tab and enable "Mermaid Icons".

Manual Installation

  1. Download mermaid-icons.zip from the latest Releases page on GitHub.
  2. Extract the contents of the downloaded zip file.
  3. Move the extracted mermaid-icons folder to your Obsidian vault's plugins folder: <YourVault>/.obsidian/plugins/.
  4. Reload Obsidian.
  5. Go to Settings -> Community plugins, and enable "Mermaid Icons".

How It Works

This plugin enables icons in Mermaid diagrams within Obsidian by 2 ways:

  1. Fixing Font Awesome Icons: When you use the fa:fa-icon syntax in Mermaid, it generates the corresponding HTML tag (e.g., <i class="fa fa-icon">). However, standard Obsidian does not include the Font Awesome stylesheet or font files. This plugin simply loads the necessary assets, allowing the icons to be displayed as intended.

  2. Adding Custom Icons: To support additional icon sets (like brand logos), the plugin uses the Mermaid API to register new icon packs. This allows you to use them with a custom prefix (e.g., logos:icon-name) just like you would with the built-in Font Awesome icons.

License

This project itself is licensed under the MIT License. See the LICENSE file for details.

Acknowledgements

This plugin utilizes the following open-source icon sets. Thank you to their creators and contributors.

Similar Plugins

info
• Similar plugins are suggested based on the common tags between the plugins.
Iconize
5 years ago by FlorianWoelki
Simply add icons to anything you want in Obsidian.
Advanced Canvas
3 years ago by Developer-Mike
⚡ Supercharge your canvas experience! Graph view integration and unlimited styling options empower flowcharts, dynamic presentations, and interconnected knowledge.
Markmind
5 years ago by Mark
A mind map, outline for obsidian,It support mobile and desktop
Mermaid Tools
4 years ago by dartungar
Tools for improved Mermaid.js experience in Obsidian.md
Iconic
2 years ago by Holo
Customize your icons and colors directly from the Obsidian UI, including tabs, files & folders, bookmarks, tags, properties, and ribbon commands.
Diagrams
5 years ago by Sam Greenhalgh
Draw.io plugin for obsidian.md
Callout Manager
4 years ago by eth-p
An Obsidian.md plugin that makes creating and configuring callouts easy.
Heatmap Calendar
5 years ago by Richard Slettevoll
An Obsidian plugin for displaying data in a calendar similar to the github activity calendar
Map View
5 years ago by esm
Interactive map view for Obsidian.md
Icons
6 years ago by Camillo Visini
Add icons to your Obsidian notes – Experimental Obsidian Plugin
Extended Graph
2 years ago by Kapirklaa
Community plugin to add features to the graph view.
Contribution Graph
3 years ago by vran
generate interactive gitxxx style contribution graph for obsidian, use it to track your goals, habits, or anything else you want to track.
Maps
a year ago by Obsidian
Map layout for Obsidian Bases. Display your notes as an interactive map view.
Icon Shortcodes
5 years ago by AidenLx
Obsidian Plugin: Insert emoji and custom icons with shortcodes
TikZJax
4 years ago by artisticat1
Render LaTeX and TikZ diagrams in your notes
draw.io
4 months ago by somesanity
A plugin for Obsidian that integrates the draw.io editor into Obsidian.
Heatmap Tracker
2 years ago by Maksim Rubanau
A customizable heatmap tracker plugin for Obsidian to visualize daily data trends with intuitive navigation and flexible settings.
Diagrams.Net
4 years ago by Jens M Gleditsch
This repository contains a plugin for Obsidian for inserting and editing diagrams.net (previously draw.io) diagrams.
Mehrmaid
2 years ago by huterguier
Rendering Obsidian Markdown inside Mermaid diagrams.
Note Gallery
3 years ago by Pash Shocky
A masonry note gallery for obsidian.
Excalidraw Extras
4 months ago by zsviczian
Companion Obsidian.md plugin hosting extra add-on optional features for the main Excalidraw-Obsidian plugin
Smart Connections Visualizer
2 years ago by Evan Moscoso
Visualize your notes and see links to related content with AI embeddings. Use local models or 100+ via APIs like Claude, Gemini, ChatGPT & Llama 3
Link Exploder
4 years ago by Ben Hughes
InfraNodus AI Graph View
2 years ago by Nodus Labs
Advanced graph view for Obsidian: text analysis, topic modeling, and AI with InfraNodus AI text analysis tool: https://infranodus.com
Desmos
5 years ago by Nigecat
Embed graphs directly into your obsidian notes
Wechat Converter
3 months ago by davidlam-oss
Obsidian 公众号排版(支持自定义 CSS和公众号贴图)、飞书云同步与多平台(小红书、知乎等)发布插件。Markdown 转微信文章 / Feishu docs / 知乎、小红书、今日头条等草稿,支持数学公式、本地图片、GIF 和 Mermaid。
Optimize Canvas Connections
4 years ago by Félix Chénier
An Obsidian plugin that declutters a canvas by reconnecting notes using their nearest edges
Enhanced Canvas
2 years ago by RobertttBS
When editing on Canvas, properties and Markdown links to notes are automatically updated, enabling backlinks in Canvas.
Graph Banner
2 years ago by ras0q
An Obsidian plugin to display a relation graph view on the note header.
Mermaid Popup
2 years ago by ChenPengyuan
New 3D Graph
a year ago by Aryan Gupta
Visualize your vault in 3D with a powerful, highly customizable, and filterable graph.
Mindmap
2 years ago by YunXiaoYi
An Obsidian plugin for creating Mindmaps.
Show Whitespace
3 years ago by Erin Schnabel
Show leading/trailing whitespace
D2
4 years ago by Terrastruct
The official D2 plugin for Obsidian. D2 is a modern diagram scripting language thats turns text to diagrams.
Habit Tracker
5 years ago by duo
This plguin for Obsidian creates a simple month view for visualizing your punch records.
Canvas Links
3 years ago by aqav
Show the links between "Canvas" and "File"
Mermaid Themes
3 years ago by jvsteiner
mermaid themes for obsidian
Canvas Filter
4 years ago by Ivan Koshelev
Obsidian Canvas plugin that let's you show only pages / arrows with specific tags / colors / connections.
Custom Sidebar Icons
2 years ago by RavenHogWarts
Custom Icons
Advanced Progress Bars
2 years ago by cactuzhead
Obsidian plugin to create custom progress bars
CardNote
3 years ago by cycsd
Help you extract your thoughts more quickly in canvas
Tasks Map
a year ago by NicoKNL
A graph view of your tasks.
Graph Link Types
3 years ago by natefrisch01
Link types for Obsidian graph view.
Kroki
5 years ago by Greg Zuro
Chessboard Viewer
6 years ago by Davide Aversa
Plugin to render chessboards in Obsidian using chessboardjs
Neo4j Graph View
6 years ago by Emile van Krieken
Galaxy View
2 months ago by Rick
Nomnoml Diagram
5 years ago by Daeik Kim
Obsidian Plugin for nomnoml diagram
Canvas Mindmap Helper
3 years ago by Tim Smart
Pathfinder 2E Action Icons
3 years ago by Thiago Coutinho
Obsidian plugin for easily insertind the Pathfinder 2E Action icons
Release Timeline
4 years ago by cakechaser
Habit Tracker
4 years ago by David Moeller
A Plugin to display a Habit Tracker in Obsidian.
Nifty Links
3 years ago by x-Ai
Generating elegant, Notion-styled rich link cards to enhance your note-taking experience.
Export Graph View
2 years ago by Sean McGhee
Plugin to export your vault's graph view.
Mermaid Zoom
2 months ago by xiaozhuang0433
A plugin that adds zoom functionality to Mermaid charts in Obsidian.
Icon Swapper
5 years ago by mgmeyers
Allows swapping out Obsidian's icons
Arrows
3 years ago by artisticat
Draw arrows across different parts of your notes, similar to on paper
Argument Map with Argdown
5 years ago by amdecker
MoreDraw
2 years ago by webceoboy2011
mordraw.com for obsidian plugin
Dirtreeist
4 years ago by kasahala
Render a directory Structure Diagram from a markdown lists in codeblock.
Metadata Icon
3 years ago by Benature
change metadata entry icon
Content Cards
2 years ago by leo
Insert content cards in Markdown, such as timeline, highlightblock, target card, book information card, music information card, movie information card, photoes ablum, business card, content subfield, countdown, SWOT,BCG.
Chemical Structure Renderer
3 years ago by xaya1001
Render chemical structures from SMILES strings into PNG or SVG format using Ketcher and Indigo Service.
Iconoir Icons
3 years ago by @gapmiss
A plugin for creating customized icons in Obsidian.md
WaveDrom
5 years ago by Alex Stewart
Node Factor
a year ago by CalfMoon
Customize factors effecting node size in obsidian graph.
Adamantine Pick
4 years ago by Urist McMiner
Embeddable Pikchr(https://pikchr.org) diagrams renderer plugin for Obsidian(https://obsidian.md)
Material Symbols
4 years ago by Cristoph Berane
YourPulse - Your Writing Activity Visualised
2 years ago by Jiri Sifalda
YourPulse.cc - Obsidian.md plugin that turns your vault into a reflection of your creativity, and put your writing on steroids 💪
Additional Icons
3 years ago by Matthew Turk
Add additional iconsets to Obsidian
Lilypond
3 years ago by DOT-ASTERISK
Lilypond for Obsidian
Flowcharts
2 years ago by land0r
Flowchart Plugin for Obsidian – Create and customize flowcharts seamlessly within your Obsidian vault. Powered by Flowchart.js and designed for productivity
Desk
3 years ago by David Landry
A desk for obsidian
Lineup Builder
5 years ago by James Fallon
An Obsidian plugin that lets you build football lineups
Tier List
2 years ago by Mox Alehin
Obsidian plugin for visual ranking and organizing content into customizable Tier Lists.
Laws of Form
3 years ago by Kevin German
ASCII Tree Generator
2 years ago by Matěj Michálek
Generate Timeline
a year ago by Shanshuimei
An obsidian plugin to generate timelines from tags, folders, files or metadata automatically. 根据标签,文件夹,文件或者属性自动生成时间轴的插件。
Easy Timeline
2 years ago by Romeliun
The Easy Timeline plugin for Obsidian allows you to create timelines easily.
Weather Widget
8 months ago by mr-asa
Weather widget for display in notes, Canvas, and a separate tab.
Storyclock Viewer
3 years ago by Jonathan Fisher
Obsidian plugin for creating a storyclock
Folder Canvas
2 years ago by Nancy Lee
Generate a canvas view of your folder structure
Mathematica Plot
3 years ago by Marcos Nicolau
Insert functions on Obsidian using Wolfram Mathematica!
BattleSnake Board Viewer
3 years ago by EnderInvader
Plugin to render battlesnake boards in Obsidian
Markline
3 years ago by 闲耘
Markline: Markdown timeline view in Obsidian.
Extended File Support
2 years ago by Nick de Bruin
Adds opening and embedding support for various filetypes to Obsidian
Mapbox Location Image
2 years ago by Aaron Czichon
Render a mapbox location image based on provided coordinates
Alfonso Money Manager
3 years ago by SmartLifeGPT Innovation
This is the repository for the obsidian plugin of the Alfonso Money Manager mobile application
Inline Local Graph
8 months ago by TKOxff
Inline Local Graph of Obsidian
Life in Weeks Calendar
10 months ago by Jeff Szuc
Plugin for the Obsidian markdown editor. Displays a calendar of your life in weeks with weekly Periodic Notes plugin integration. Includes options for the traditional Memento Mori/Stoic style calendar, as well as a Gregorian calendar accurate version.
Canvas Explorer
2 years ago by Henri Jamet
A plugin that enables users to explore their vault by iteratively adding or ignoring linked notes, ultimately generating a customizable canvas that visually represents the preserved notes and their connections.
NodeFlow
2 years ago by LincZero
Render node streams like `ComfyUi`, `UE`, `Houdini`, `Blender`, etc., to make it easy to write relevant notes. json describes the chart, compared to screenshots, making it easier to modify later. The plugin is also compatible with blogs.",
Magic Move
2 years ago by imfenghuang
Animating Code Blocks in Obsidian
Waveform Player
2 years ago by Zhou Hua
Timelive
a year ago by aNNiMON
Turn a list of dates into a timeline
Every Day Calendar
2 years ago by QuBe
Obsidian plugin to create calendars inspired by Simone Giertz's Every Day Calendar
Boardgame Search
2 years ago by Marlon May
A plugin to create notes for boardgames based on the BGG API
Sankey
2 years ago by Finn Romaneessen
An Obsidian plugin to create sankey diagrams
Visited Countries
a year ago by Ivan Peshykov
Obsidian plugin to mark and visualize the countries you've visited on an interactive world map.
Note Favicon
2 years ago by mdklab
Obsidian plugin – Show Favicon from Metadata
Kale Graph
2 years ago by Oli
Render mathematical graphs in Obsidian
NyanBar
2 years ago by xhyabunny
Give life to your Obsidian notes with NyanBar !
Tabsdown
2 months ago by grafanakibana
Create accessible, theme-native tabbed blocks for Markdown-renderable content in Obsidian.
My SVGs
8 months ago by Omar Badawy
An Obsidian plugin that Registers your own SVGs into Obsidian's global icon library for use with other plugins or however you want.
Image Preview on Icon Hover
2 years ago by rama1997
Plugin for Obsidian that add image popups when hovering over various icons in the user interface
Pinned Tabs
2 months ago by NameIsKyro
Chrome-style compact pinned tabs for Obsidian with custom icons, smooth movement, and accidental-close protection.`
CalloutX
2 years ago by br4in
An Obsidian plugin that allows you to view, manage, and customise callout icons in your vault.
GLSL Viewer
8 months ago by iY0Yi
Preview GLSL shaders on Obsidian.
Mahgen Renderer
2 years ago by Michael Francis Williams
Obsidian plugin to render mahgen automatically
Pintora
2 years ago by Amias Lee
Create Pintora diagrams directly in the Obsidian.
Poker Range
2 years ago by marplek
Easily create, view, and interact with poker hand ranges in your obsidian.
Inline TikZ
2 months ago by Lachlan Harris
Render seamless Tikz, CircuiTikz & other PGFPlots LaTeX diagrams directly in your notes.
Mapa neuronal
13 days ago by Felipe Córdova
A graph that explains itself: your Obsidian vault as a layered neural map, with the reason each note links to the next.
ShaahMaat-md
2 years ago by Mihail Kovachev
Class Relation Visualization
2 years ago by Yong
List Callouts Improved
16 days ago by Daniel Yim
Create callouts in lists in Obsidian.
GoBoard
8 months ago by Dmitry I. Sokolov
Obsidian plugin for rendering Go game diagrams from markdown code blocks
Mahjong Renderer
2 years ago by hypersphere
ICOR for Life - Interface
a month ago by Paperless Movement S.L.
The vault's chrome in one place: hide the ribbon and Obsidian's own controls, and give any folder a colour, an icon and a label. Writes no CSS; the INKLINE theme draws it. Part of the ICOR for Life suite.
Mermaid Link Navigator
12 days ago by w-java123