Added support for Iconize plugin (#405)
* 1.25.0-beta.1 manifest * chore: manifest 1.25.0-beta.2 * Added support for Iconize plugin * Adjusted logic to fallback to generic icon if nothing found & added supported for Lucide Icon * Added support for Emojis (thanks ChatGPT) * Added dynamic updating of icons to match search results * Moved icon logic to tools/iconUtils.ts, cleaned up ResultItemVault.svelte * Moved icon logic to tools/iconUtils.ts, cleaned up ResultItemVault.svelte * Prettified code and fixed case where CamelCase lucideicons do not render in search results * Refactored code to check for Iconize plugin enablement, rehandled errors, minor tidy ups and utilization of native obsidian functions * Minor touchups and improvements, removed unecessary error logging, consolidated LucideIcon prefix code * Null return for no iconize condition --------- Co-authored-by: Simon Cambier <simon.cambier@protonmail.com>
This commit is contained in:
@@ -147,5 +147,7 @@
|
||||
"1.24.0-beta.2": "1.3.0",
|
||||
"1.24.0-beta.3": "1.3.0",
|
||||
"1.24.0": "1.3.0",
|
||||
"1.24.1": "1.3.0"
|
||||
"1.24.1": "1.3.0",
|
||||
"1.25.0-beta.1": "1.3.0",
|
||||
"1.25.0-beta.2": "1.3.0"
|
||||
}
|
||||
Reference in New Issue
Block a user