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 | 4809 | December 13, 2024 | |
Replace Discourse's default SVG icons with custom icons in a theme | 7 | 8170 | March 7, 2025 | |
Tag Icons | 82 | 17429 | February 20, 2025 | |
Embed comments from Discourse in your single page app | 0 | 1668 | July 3, 2022 | |
A tour of how the Widget (Virtual DOM) code in Discourse works | 75 | 28566 | July 10, 2023 |