Re:Show HN: Run Code Snippets in Any Language Inside Your Blog
by rewrew on Thursday August 10, 2017 @04:11PM
(#14983664)
I love this, but I worry about longevity -- if we convert all our code snippets to this, and then this dies, all the older blog posts become useless. You'd be surprised how many reads even 5+ year old blog posts can get.
[ Parent
| on HN ]
Re:Show HN: Run Code Snippets in Any Language Inside Your Blog
by tolmasky on Thursday August 10, 2017 @04:38PM
(#14983990)
One of the nice things about the way we do things with RunKit embeds (https://runkit.com/docs/embed) is that the code lives in your site, not on ours. The API generates the embed the same way something like highlight.js generates syntax-colored code on your site. That means if we're ever down, your site gracefully degrades to a not-runnable snippet, as opposed to merely disappearing like this seems to or with embedded gists.
Re:Show HN: Run Code Snippets in Any Language Inside Your Blog
by peternicky on Friday August 11, 2017 @12:36PM
(#14991587)
RunKit is awesome, highly recommend it.