From 9e96cc247a130a5f1cc6e4ed44a76110b4cef15b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Paul=20O=E2=80=99Shannessy?= Date: Wed, 17 Jul 2013 11:18:17 -0700 Subject: [PATCH] [docs] Make sure JSX comments code is in block --- docs/02.1-jsx-in-depth.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/02.1-jsx-in-depth.md b/docs/02.1-jsx-in-depth.md index 7be45709..11e630b1 100644 --- a/docs/02.1-jsx-in-depth.md +++ b/docs/02.1-jsx-in-depth.md @@ -152,6 +152,7 @@ var content = Container(null, window.isLoggedIn ? Nav(null) : Login(null)); ### Comments It's easy to add comments within your JSX; they're just JS expressions: + ```javascript var content = {/* this is a comment */}