scottTomaszewski / obsidian-inline-admonitions

MIT License
20 stars 0 forks source link

Request to work with Iconize #14

Open gvivster opened 6 days ago

gvivster commented 6 days ago

Hi there! It would help me to be able to use Iconize icons inside admonitions -- or, even better, to be able to specify an icon to appear at the front of my notes similarly to Badges. Would that be at all possible?

scottTomaszewski commented 4 days ago

Hi!

Can I get some clarity into what youre looking for? From what I can tell, you can add iconize icons inside the inline-admonition content

image

Are you looking to have an icon to be added automatically to inline-admonitions of a certain type? For example, every time you make a prefix inline admonition that starts with warn as the trigger string, you want the admonition to have an alert icon?

Markdown:

`warn dont forget to buy milk`

Expected output: image

gvivster commented 3 days ago

(I realized today that my vault is failing to load Iconize icons in general, so that's something on my end, never mind that part. 😅)

Are you looking to have an icon to be added automatically to inline-admonitions of a certain type? For example, every time you make a prefix inline admonition that starts with warn as the trigger string, you want the admonition to have an alert icon?

Yes, exactly! And (it probably goes without saying) I'd like to be able to set which icon for each type, using the natively supported Lucide icons. (And if possible, I'd like to be able to search them to add them, like in Iconize - it would take a pain point out for me.)