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?
You can just ignore it and complete the blog. During the blog edit, it will not show full source code but it will show the full source code once published.
It is a known issue of medium.