admonitions icon indicating copy to clipboard operation
admonitions copied to clipboard

Duplicated icons when using Icon Shortcodes in admonitions

Open corinnekaryiu opened this issue 2 years ago • 0 comments

I originally posted this issue on the Icon Shortcodes plugin page (aidenlx/obsidian-icon-shortcodes#37), but it seems like it might be related to the Admonition plugin.

If I add an icon shortcode into an admonition, the icon is added twice.

For example, the code below:

> [!info:]
> - :fas_running: [[Activities]]
> - :far_calendar_plus: [[Planner]]
> - :fas_dumbbell: [[Gym Timetable]]

:fas_running: [[Activities]]
:far_calendar_plus: [[Planner]]

- :fas_dumbbell: [[Gym Timetable]]

> :fas_running: [[Activities]]

Displays like this:

image

At the moment I'm using CSS to hide the second icon, but it would be great if this could be fixed. I understand that the icons work correctly for the new callouts, but I don't yet have access to those.

corinnekaryiu avatar Mar 18 '22 19:03 corinnekaryiu