move docs tooling from JSX in Depth
Also removes the code wrap around the syntax highlighting link.
Cheng Lou committed
Nov 7, 2013 at 14:21 UTC
ca95c8c3a3ceda04da3fb7ba6070d54272ffcccb
2 files changed
+8
-13
docs/docs/02.1-jsx-in-depth.md
-13
@@ -157,19 +157,6 @@ It's easy to add comments within your JSX; they're just JS expressions:
157
var content = <Container>{/* this is a comment */}<Nav /></Container>;
158
```
159
160
-## Tooling
161
-
162
-Beyond the compilation step, JSX does not require any special tools.
163
-
164
-* Many editors already include reasonable support for JSX (Vim, Emacs js2-mode).
165
- * JSX syntax highlighting is available for Sublime Text and other editors
166
- that support `*.tmLanguage` using the third-party
167
- [`JavaScript (JSX).tmLanguage`][1].
168
-* Linting provides accurate line numbers after compiling without sourcemaps.
169
-* Elements use standard scoping so linters can find usage of out-of-scope
170
- components.
171
-
172
-[1]: https://github.com/yungsters/sublime/blob/master/tmLanguage/JavaScript%20(JSX).tmLanguage
160
161
## Prior Work
162
docs/docs/08-tooling-integration.md
+8
@@ -47,6 +47,14 @@ The open-source community has built tools that integrate JSX with several build
47
* [react-rails](https://github.com/facebook/react-rails) - use JSX with [Ruby on Rails](http://rubyonrails.org/)
48
49
50
+### Syntax Highlighting & Linting
51
+
52
+* Many editors already include reasonable support for JSX (Vim, Emacs js2-mode).
53
+ * [JSX syntax highlighting](https://github.com/yungsters/sublime/blob/master/tmLanguage/JavaScript%20(JSX\).tmLanguage) is available for Sublime Text and other editors
54
+ that support `*.tmLanguage`.
55
+* Linting provides accurate line numbers after compiling without sourcemaps.
56
+* Elements use standard scoping so linters can find usage of out-of-scope components.
57
+
58
## React Page
59
60
To get started on a new project, you can use [react-page](https://github.com/facebook/react-page/), a complete React project creator. It supports both server-side and client-side rendering, source transform and packaging JSX files using CommonJS modules, and instant reload.