Stack Exchange network consists of 177 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Is there a way to embed the code put up on gist.github.com in either the question or the answer instead of repeating the same thing here ?
No. That would be the same as linking, which means that should the gist disappear, the question/answer here becomes useless.