Re:Why I left Medium and moved back to my own domain
by rhizome on Sunday July 30, 2017 @03:06PM
(#14887326)
OT, but syntax highlighting is hardly the weakest part of displaying code on a webpage. Nobody's disrupting horizontal scrollbars or margin-busting, but the first person who does is going to be a hero.
Re:Why I left Medium and moved back to my own domain
by fgandiya on Monday July 31, 2017 @01:23PM
(#14894005)
I was so close to doing this when I was making my new blog, then I found out that the CSS element responsible for making the code block scollable isn't supported on mobile.
Re:Why I left Medium and moved back to my own domain
by cyberferret on Sunday July 30, 2017 @06:21PM
(#14888166)
Any time I have to embed code in Medium, I just type the code in a free Github Gist and post the link - Medium automatically embeds the Gist in a nice, syntax highlighted format, with a link to the original gist.
e.g. (towards bottom of this article I wrote - syntax highlighting in HTML, Javascript and Ruby snippets): https://hackernoon.com/building-a-face-recognition-web-app-i...
Re:Why I left Medium and moved back to my own domain
by movedx on Sunday July 30, 2017 @05:15PM
(#14887873)
> Totally agree. Code embedding is also limited on Medium, I think they still lack syntax highlighting.
Limited how? I find embedding GitHub Gist's works perfectly fine and is automatic -- just paste the link to the Gist in your post and you get an embedded object.
Btw, great tip wih Netlify. How is your experience with them, what are pros cons compared to Github Pages and can I run server code like Node for free?