It is possible with a plugin, like emojis, for example a plugin can replace the content :fa-star: with <i class="fa fa-star"></i>