AutoSnippet – Automatic snippet generator



Code snippets posted online are a great source of knowledge and a simple way to share experience and to reuse code. As developers we always look to see if there is a ‘code example’ which we can modify to our needs. As bloggers we find code snippets very useful to get our information out to the readers.

AutoSnippet automatically generates the code snippet from the source code (HTML, CSS and JavaScript). No more cumbersome repetitive tasks and no more inconsistencies between example and real code.

Usage:

HTML and javascript goes here

Demo:

Any code I write here
automatically snippets on the right ->

Code behind the demo:

Download

Autosnippet with examples and Dependencies
Autosnippet code only – jquery.autosnippet.1.0.js

Documentation

Getting started