You are here: Home » NewsFeeds » Show HN: Run Code Snippets in Any Language Inside Your Blog

Show HN: Run Code Snippets in Any Language Inside Your Blog

Luke, how many stars are there in these galaxies?
There is nothing like an interactive exercice to make a learning experience memorable. Today, technical blogs and websites could benefit from runnable code snippets so readers could see the output live in their browser. This kind of snippet is usually limited to a handful of languages. Tech.io’s widget is not.
The Problem
Meet Jane.
Jane is doing her usual daily skim through HackerNews. While reading articles, she often comes across code snippets used to help readers understand the programming concepts of the article. What if Jane could just hit a “run” button and see how the code works all within the same article? Consuming technical knowledge would be more interactive and enjoyable.
In the article What’s New in C# 7.0, Jane learns first how to use out variables.
Out Variables as explained in the article “What’s New in C# 7.0”
Out variables are really useful, but Jane’s fresh eyes


 

Original article