I had similar problem while working on my first blog. But following solution helped me. Clone gist via HTTPS. Copy link and paste in editor(no embed, just normal line). Press enter. Pressing enter is important. You will see your code once you hit enter.