/** * @jsx React.DOM */ var MARKDOWN_COMPONENT = "\ /** @jsx React.DOM */\n\ \n\ var converter = new Showdown.converter();\n\ \n\ var MarkdownEditor = React.createClass({\n\ getInitialState: function() {\n\ return {value: 'Type some *markdown* here!'};\n\ },\n\ handleInput: React.autoBind(function() {\n\ this.setState({value: this.refs.textarea.getDOMNode().value});\n\ }),\n\ render: function() {\n\ return (\n\
\n\

Input

\n\ \n\

Output

\n\ \n\
\n\ );\n\ }\n\ });\n\ \n\ React.renderComponent(, mountNode);\ "; React.renderComponent( , document.getElementById('markdownExample') );