# Tentativo di sostituire / auto-formattare stringhe nei post degli utenti

**URL:** <https://meta.discourse.org/t/trying-to-replace-auto-format-strings-in-user-posts/285326>\
**Category:** Development\
**Created:** [13 Novembre 2023, 3:32pm UTC](https://meta.discourse.org/t/trying-to-replace-auto-format-strings-in-user-posts/285326 "2023-11-13T15:32:21Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Arkshine](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/arkshine/32/298682_2.png) [@Arkshine](https://meta.discourse.org/u/Arkshine)\
**Post date:** [13 Novembre 2023, 4:48pm UTC](https://meta.discourse.org/t/trying-to-replace-auto-format-strings-in-user-posts/285326/2 "2023-11-13T16:48:36Z")

</div>

Certo, dovrebbe essere possibile. Hai un’API per decorare il post cotto.  
Ad esempio: [decorateCookedElement](https://github.com/discourse/discourse/blob/main/app/assets/javascripts/discourse/app/lib/plugin-api.js#L379)

Puoi condividere un esempio visivo di ciò che stai cercando di ottenere?

---

_[View the full topic](https://meta.discourse.org/t/trying-to-replace-auto-format-strings-in-user-posts/285326)._
