Skip to content

Instantly share code, notes, and snippets.

@guyht
Created December 30, 2011 19:35
Show Gist options
  • Save guyht/1541166 to your computer and use it in GitHub Desktop.
Save guyht/1541166 to your computer and use it in GitHub Desktop.
Giki - Realtime, asynchronous JavaScript parser and code highlighter
<div id="bbcode_div"></div>
<textarea id="bbcode_ta" cols="20" rows="5"></textarea></pre>
new Giki({
'div' : 'bbcode_div',
'text_area' : 'bbcode_ta',
'parser' : 'javascript/bbcode.js'
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment