Gist is not showing completely in Medium

后端 未结 4 1672
挽巷
挽巷 2021-01-17 07:36

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?

相关标签:
4条回答
  • 2021-01-17 07:49

    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.

    0 讨论(0)
  • 2021-01-17 07:55

    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.

    0 讨论(0)
  • 2021-01-17 08:14

    Medium have said in their Twitter suppport feed that it's an issue that only affects the editor but it should look fine when published.

    https://twitter.com/MediumSupport/status/1201827439632158725

    0 讨论(0)
  • 2021-01-17 08:14

    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.

    0 讨论(0)
提交回复
热议问题