AutoSnippet – Getting Started



How to install and use AutoSnippet – automatic snippet generator for HTML and JavaScript

  1. Download Autosnippet with examples and Dependencies ( you can download Autosnippet only and download SyntaxHighlighter and jQuery from their sites)
  2. Add syntaxhighlighter, Jquery and jquery.autosnippet-1.0.js (Autosnippet script) to your page:

  3. Create the source div and target div for the snippet:

    HTML and javascript goes here

  4. Write your code in the source div

    some complex code

  5. Optionally, For Snippet only – wrap the source div with the target div

    some complex code

Further documentation and Configuration can be found in SyntaxHighlighter and jQuery websites.