AutoSnippet JavaScript Library v1.0
Dependencies – jquery http://jquery.com/ Optionally SyntaxHighlighter (both provided in this release)
Simple Example - the following code snippet is automatically generated:
usage:
<div name='autosnippet:name_of_target:[yes/no -use Syntax Highlighter(default=no) ]'></div>
<div name='name_of_target'></div>
Simple Example - the following code snippet is automatically generated:
Just |
write |
the Example |
and the |
snippet |
is automaticlly generated |
Here is how it is done:
Example with Syntax Highlighter - the following code snippet is automatically generated with SyntaxHighlighter:
Just |
write another |
the Example |
and the |
snippet |
is automaticlly generated |
and the |
snippet |
is automaticlly generated |
Here is how it is done:
Example with Syntax Highlighter - snippet only:
Just |
write another |
the Example |
and the |
snippet |
is automaticlly generated |
and the |
snippet |
is automaticlly generated |
Here is how it is done:
The key is to wrap the source div with the target div:
for more information contact Amir@spacebug.com