Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 08d72df

Browse files
yungsterszpao
authored andcommitted
Add link to third-party JavaScript (JSX).tmLanguage in docs.
1 parent d6edc11 commit 08d72df

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

docs/docs/02.1-jsx-in-depth.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,10 +162,15 @@ var content = <Container>{/* this is a comment */}<Nav /></Container>;
162162
Beyond the compilation step, JSX does not require any special tools.
163163

164164
* 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].
165168
* Linting provides accurate line numbers after compiling without sourcemaps.
166169
* Elements use standard scoping so linters can find usage of out-of-scope
167170
components.
168171

172+
[1]: https://github.com/yungsters/sublime/blob/master/tmLanguage/JavaScript%20(JSX).tmLanguage
173+
169174
## Prior Work
170175

171176
JSX is similar to several other JavaScript embedded XML language

0 commit comments

Comments
 (0)