We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ecbf8a commit d46046bCopy full SHA for d46046b
example/src/example.js
@@ -1,10 +1,10 @@
1
-var React = require('react'),
2
- Codemirror = require('react-codemirror');
+var React = require('react');
+var Codemirror = require('react-codemirror');
3
4
var App = React.createClass({
5
getInitialState: function() {
6
return {
7
- code: "// Code"
+ code: "# Heading\n\nSome **bold** and _italic_ text\nBy [Jed Watson](https://github.com/JedWatson)"
8
};
9
},
10
updateCode: function(newCode) {
0 commit comments