Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to embed a Gist within a GitHub issue comment?

Tags:

github

gist

I have a Gist that I would like to embed within a GitHub issue. I have tried pasting the "Embed" <script> markup shown on the Gist page, which simply adds the escaped HTML to the issue comment.

This seems a rather obvious feature to not be supported. What am I missing?

like image 593
Jeff Dickey Avatar asked Apr 20 '17 18:04

Jeff Dickey


Video Answer


1 Answers

Because embedding requires a <script> tag which gets sanitized and removed to prevent abuse this probably won't ever work in GitHub Issues.

like image 104
dragon788 Avatar answered Sep 20 '22 13:09

dragon788