Is it possible to display emojis in Category names like this?:
Announcements
Tech Support
Is it possible to display emojis in Category names like this?:
Announcements
Tech Support
You could probably do some fancy CSS customization to achieve something similar.
Probably not inside the drop-downs as the list items are not styled with classes that can distinguish different categories. Nor in category lists.
One way to do this is to use the category’s url as a guideline.
Here’s a very rough example:
[href="/c/hosting"] .badge-category-bg { // remove default category color marker
display: none !important;
}
[href="/c/hosting"] .badge-category:before { // add new font awesome icon in its place
font-family: fontawesome;
content: "\f1b9";
margin-right: 5px;
}
This would result in:
I have not tested this everywhere and it needs a lot more refinement but that’s the basic idea.
The composer selecter has attributes added to category list items like data-name="hosting"
This is cool. Probably the closest I can get for now. Thank you!
Estaba buscando esto, ya que el MD-shortcode no funcionaba en el campo del nombre de la categoría, así que intenté copiar y pegar un corazón rojo
en el nombre de la categoría y descubrí que discourse lo aceptará de buena gana, ya que probablemente también aceptaría
saturno.
Este tema se cerró automáticamente después de 2353 días. Ya no se permiten nuevas respuestas.