For example for Icon Shortcodes plugin.
See solution for another plugin: guopenghui/obsidian-quiet-outline#74 (comment)
import { getApi as getIconShortcodesApi } from "@aidenlx/obsidian-icon-shortcodes"
// . . . . .
const iconShortcodesApi = getIconShortcodesApi();
if (iconShortcodesApi) {
label = iconShortcodesApi.postProcessor(
label,
(iconText: string) => iconShortcodesApi.getIcon(iconText).outerHTML
);
}
For example for Icon Shortcodes plugin.
See solution for another plugin: guopenghui/obsidian-quiet-outline#74 (comment)