Is it possible to add multiple CSS classes to a tag in the markdown rules? (This is via a plugin) It seems that whenever I try this, any class after the first is removed. If this is possible, what is the proper syntax both for the attrs variable on the token, and for the sanitizer to allow this?
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Whitelisting elements in Discourse Plugin | 5 | 1064 | December 9, 2022 | |
| Post HTML Element Class Being Removed | 11 | 2603 | August 30, 2022 | |
| CSS classes for tags | 6 | 1817 | June 6, 2019 | |
| HTML Whitelisting | 0 | 496 | May 3, 2020 | |
| How to add a class attribute to a table created using markdown | 14 | 5619 | June 8, 2024 |