Use emoji istead callout icons?

is it possible to have callouts that have emoji icons instead of the standard icons?

Something like this could work:

.callout[data-callout="fish"] {
    --callout-color: var(--callout-example);
    & .callout-title > .callout-icon svg {
        display: none;
    }
    & .callout-title > .callout-icon:before  {
        content:"🐟";
    }
}

the callout as written in the note:

> [!fish] fish callout
> content of the fish


https://help.obsidian.md/Editing+and+formatting/Callouts
https://help.obsidian.md/Extending+Obsidian/CSS+snippets

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.