Hacker News new | ask | show | jobs
by ecthiender 2881 days ago
Why aren't code snippets part of the article? Why are they hosted somewhere else? Especially when they are 2-3 line snippets.
3 comments

Agreed. I stopped reading after two (which I knew anyway) due to the annoyance factor. Hopefully author can fix and republish article.
> Originally published at gist.github.com

Maybe because the article was originally a gist[0] itself.

[0] https://gist.github.com/citizen428/16fb925fcca59ddfb652c7cb2...

That gist links back to the actual original article, which shows code inline:

https://www.codementor.io/citizen428/git-tutorial-10-common-...

This should be the posted article.

A lot of useful stuff here but not readable until I found this.

Better, but still too many typos or wrong syntax to be useful enough.
I'm wondering if they meant to embed them.
It looks like the author used Medium's import tool[1] but didn't change the gist links to embeds. The source for the import is a gist itself[2], which just has the raw links.

[1]: https://help.medium.com/hc/en-us/articles/214550207-Import-p...

[2]: https://gist.github.com/citizen428/16fb925fcca59ddfb652c7cb2...