diff --git a/docs/docs/tutorial.md b/docs/docs/tutorial.md
index 0d2a00baf2..dc11e2a683 100644
--- a/docs/docs/tutorial.md
+++ b/docs/docs/tutorial.md
@@ -65,7 +65,7 @@ Let's build the `CommentBox` component, which is just a simple `
);
@@ -120,7 +120,7 @@ Let's build skeletons for `CommentList` and `CommentForm` which will, again, be
var CommentList = React.createClass({
render: function() {
return (
-
+
Hello, world! I am a CommentList.
);
@@ -130,7 +130,7 @@ var CommentList = React.createClass({
var CommentForm = React.createClass({
render: function() {
return (
-
+
Hello, world! I am a CommentForm.
);
@@ -145,7 +145,7 @@ Next, update the `CommentBox` component to use its new friends:
var CommentBox = React.createClass({
render: function() {
return (
-
+
Comments
@@ -166,7 +166,7 @@ Let's create our third component, `Comment`. We will want to pass it the author
var CommentList = React.createClass({
render: function() {
return (
-
+
This is one commentThis is *another* comment
@@ -186,8 +186,8 @@ Let's create the Comment component. It will read the data passed to it from the
var Comment = React.createClass({
render: function() {
return (
-
-
+
+
{this.props.author}
{this.props.children}
@@ -223,8 +223,8 @@ var converter = new Showdown.converter();
var Comment = React.createClass({
render: function() {
return (
-
-
+
+
{this.props.author}
{converter.makeHtml(this.props.children.toString())}
@@ -247,8 +247,8 @@ var Comment = React.createClass({
render: function() {
var rawMarkup = converter.makeHtml(this.props.children.toString());
return (
-
-
+
+
{this.props.author}
@@ -281,7 +281,7 @@ We need to get this data into `CommentList` in a modular way. Modify `CommentBox
var CommentBox = React.createClass({
render: function() {
return (
-
@@ -453,7 +453,7 @@ Now it's time to build the form. Our `CommentForm` component should ask the user
var CommentForm = React.createClass({
render: function() {
return (
-
Comments
+
+
-
{this.props.author}
{this.props.children} @@ -223,8 +223,8 @@ var converter = new Showdown.converter(); var Comment = React.createClass({ render: function() { return ( -+
+
-
{this.props.author}
{converter.makeHtml(this.props.children.toString())} @@ -247,8 +247,8 @@ var Comment = React.createClass({ render: function() { var rawMarkup = converter.makeHtml(this.props.children.toString()); return ( -+
+
+
@@ -306,7 +306,7 @@ var CommentList = React.createClass({
return {comment.text} ;
});
return (
-
+
{commentNodes}
);
@@ -346,7 +346,7 @@ var CommentBox = React.createClass({
},
render: function() {
return (
-
+
@@ -389,7 +389,7 @@ var CommentBox = React.createClass({
},
render: function() {
return (
-
+
@@ -426,7 +426,7 @@ var CommentBox = React.createClass({
},
render: function() {
return (
-
+
@@ -453,7 +453,7 @@ Now it's time to build the form. Our `CommentForm` component should ask the user
var CommentForm = React.createClass({
render: function() {
return (
-
{this.props.author}
@@ -281,7 +281,7 @@ We need to get this data into `CommentList` in a modular way. Modify `CommentBox var CommentBox = React.createClass({ render: function() { return ( -Comments
Comments
Comments
Comments