Plugins for writing coding text in the topics

I may be missing something, but you can already use code blocks:

console.log("hi");

It works the same as Discord which your screenshot was taken from.