Skip to content

Instantly share code, notes, and snippets.

@jiewmeng
jiewmeng / MathJaxMarkdownEditor.coffee
Created August 31, 2012 13:45
MathJax/Markdown Editor in CoffeeScript
define [
"marked",
"jquery",
"mathjax"
], (marked, $, MathJax) ->
# see: http://cdn.mathjax.org/mathjax/latest/test/sample-dynamic-2.html
class MathJaxMarkdownEditor
inputName: "#editor"