Plugins for writing coding text in the topics

sorry about my ignorance, but how can I use these code blocks writing a topic?

Exactly the ideia is to copy Discord in this way.