Subscribe - It's FREE!!

Stay Connected Here

Stay Updated With Us Here



Google

Now you can add runnable code snippets on stackoverflow. Supports JavaScript,CSS and HTML


Share with WhatsApp


Hello friend, you know StackOverflow, a code related community site on StackExchange which has several questions and answers for different languages and technology such as JavaScript, jQuery, ASP.NET, MVC, SQL and list goes on.

StackExchange has introduced a new feature called "Stack Snippets" on all their code related community sites which will help to post question or answer in more efficient way i.e. by adding live runnable code snippet.

As of now, to embed a live code peoples are using third party sites such as jsFiddle, .NETfiddle etc. and these sites provides lots of feature to share a live code. But some of the problems which had discussed on StackExchange before that sometimes when link to such third party gets expired then it makes a answer worthless and also it was going difficult for them to maintain revision history as code is on thrid party site. So to overcome these problems this new feature has been introduced.

Though "Stack snippets" provides facility to embed live code in post still use of jsFiddle or similar site is not restricted as it’s a new and also as limited feature as compared to jsFiddle and similar sites.

To embed a stack snippet you ned to click on the highlighted new icon on top of the editor like below.

Stack Snippets by StackExchange(Stackoverflow) - Live Code Embed

It opens a new popup similar to jsFiddle in which you can write a code for HTML, CSS and JavaScript like below.

Stack Snippets by StackExchange(Stackoverflow) - Editor

To know in detail how you can embed a code snippet you can visit this step by step guide provided here at StackExchange Blog.

Hope this simple informative post have benefited you. Feel the joy of sharing by sharing this information with your friends. Thanks.



If you enjoyed this post take 5 seconds to share it! Be Socialable. :-)

Share with WhatsApp

Posts To Read Next

Swagger - Powerful Opensource Framework for RESTful API

With a Swagger-enabled API, you get interactive documentation, client SDK generation and discoverability. Swagger Editor allows you to generate code, documentation with ease.


Visual Studio Code - Lighweight but powerful source code editor available for Windows, OS X and Linux

Visual Studio Code is a lightweight but powerful source code editor which runs on your desktop and is available for Windows, OS X and Linux. It comes with built-in support for JavaScript, TypeScript and Node.js and has a rich ecosystem of extensions for other languages (C++, C#, Python, PHP) and runtimes.


Assembla - Free and private repository to manage your source code online with SVN subversion hosting

With Assembla you can share source code with others online. Free & Private source code repository with SVN Subversion, Git & Perforce Hosting.


Top 10 Visual Studio things which can boost developers coding speed

Visual Studio 2012 provides some coding features by which you can code faster if use them properly. This post will cover top 10 things among them to boost your development speed.


How to call click or any event only once in jQuery

Know how to execute an click event or any event only once for any element in jQuery. Perform action only once and even not required to unbind event.


Your opinion is valuable for us! Comments, suggetions are welcome.


Submit your Email Id to stay updated with us and get notified with our new posts. It's FREE!
Vu 32'' TV Vu 24'' TV
We know this popup is disturbing you!
But We would greatly appreciate if you share us with your friends below!

It will not take more than 2 seconds but will motivate us greatly to write more,share more!

x