Introducing Font Awesome 5 and SVG icons

I was hoping to replace a Discourse icon with a custom one. Would there be a way to register my custom icon in Discourse somewhere? ie)

register_svg_icon “my-icon” as <svg>...</svg>

then be able to

api.replaceIcon(‘heart’, ‘my-icon’);
8 Likes