Implement code compiler in topics discussion page if someone post a code snippet.
You mean a dynamic syntax checker or linter?
No like executing the code and giving the output.
I would say this is extremely unlikely, considering the number of different languages and runtimes.
it is hard but it would be nice if implemented with third party like sphere engine
It’s a standard Discourse onebox, so you go and create your code on replt.it and then paste your url in a line by itself in the post, like, if I paste