Hacker News new | ask | show | jobs
by cyberferret 2226 days ago
AFAIK, Medium does support embedded Gists from GitHub etc. At least it did when I last wrote a programming guide in it.

Update: Still seems that it does (scroll down) [0]

Edit: Oops, I just remembered that HackerNoon moved off Medium to their own CMS, but those Gists did used to work on Medium too, complete with code formatting.

[0] - https://hackernoon.com/building-a-face-recognition-web-app-i...

1 comments

Supporting embedded gists is hardly "supporting code". We're talking about fetching one additional iframe plus a third party script per code blob, for what should be inline HTML plus ~30 lines of CSS (check out pandoc rendered HTML with syntax highlighting, for instance). The page you linked also demonstrates visually broken embeds with extraneous white space on the bottom; hardly a glowing endorsement.

I get embedding Codepens and stuff for rendered code. Embedding gists for static, verbatim code is just sad. (Not saying it doesn't have its uses, but having to use it is another matter.)

But this is far from the most annoying thing about Medium, so meh.