obsidian/functions/addIcon
Mock of Obsidian’s addIcon, which registers a custom icon.
Functions
Section titled “Functions”| Function | Description |
|---|---|
| addIcon | Adds an icon to the icon library. The mock stores the SVG content in an in-memory registry shared with getIcon, getIconIds, removeIcon and setIcon. |