Putting the svg in the post marked by a sorrounding special div and using a theme-component to make it into an object tag using the decorateCooked callback may work. Check Developer’s guide to Discourse Themes
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Discourse Icon | 19 | 4863 | December 13, 2024 | |
Replace Discourse's default SVG icons with custom icons in a theme | 7 | 8230 | March 7, 2025 | |
Introducing Font Awesome 5 and SVG icons | 135 | 41409 | December 1, 2023 | |
Embed comments from Discourse in your single page app | 0 | 1680 | July 3, 2022 | |
A tour of how the Widget (Virtual DOM) code in Discourse works | 75 | 28580 | July 10, 2023 |