Code compiler for topics

Implement code compiler in topics discussion page if someone post a code snippet.

1 Like

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

I recommend using https://repl.it/, check it out @Yoginth

8 Likes

how to embed it? @Falco

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

https://repl.it/@xfalcox/TransparentSmallBrace

it becomes

5 Likes