When I try to embed gist in Medium it shows only the first 11 lines of the gist while code is longer inside gist. How can be this fixed?
To embed a Tweet, Instagram video, or more on Medium, all you need to do is to paste the URL into the Medium editor, and press Enter to convert that link into an embed.
As per the medium guide, you just have to paste the gist embed URL into the Medium editor (without the script tag), and press Enter. It'll convert into an embed code segment on the editor itself.