var MARKDOWN_COMPONENT = ` class MarkdownEditor extends React.Component { constructor(props) { super(props); this.handleChange = this.handleChange.bind(this); this.state = {value: 'Type some *markdown* here!'}; } handleChange(e) { this.setState({value: e.target.value}); } getRawMarkup() { var md = new Remarkable(); return { __html: md.render(this.state.value) }; } render() { return (