From 87ecb0ba1fb0e8359e94a206953b32ad46687b35 Mon Sep 17 00:00:00 2001 From: Kohei TAKATA Date: Fri, 10 Jul 2015 08:49:43 +0900 Subject: [PATCH 1/2] Add meta tag in the header of HTML --- docs/docs/02-displaying-data.ja-JP.md | 1 + docs/docs/02-displaying-data.ko-KR.md | 1 + docs/docs/02-displaying-data.md | 1 + docs/docs/02-displaying-data.zh-CN.md | 3 ++- docs/docs/getting-started.ja-JP.md | 2 ++ docs/docs/getting-started.ko-KR.md | 2 ++ docs/docs/getting-started.md | 4 +++- docs/docs/getting-started.zh-CN.md | 2 ++ docs/docs/tutorial.ja-JP.md | 2 ++ docs/docs/tutorial.ko-KR.md | 2 ++ docs/docs/tutorial.md | 2 ++ 11 files changed, 20 insertions(+), 2 deletions(-) diff --git a/docs/docs/02-displaying-data.ja-JP.md b/docs/docs/02-displaying-data.ja-JP.md index 856ad825cf5b5..7aef1f05c0626 100644 --- a/docs/docs/02-displaying-data.ja-JP.md +++ b/docs/docs/02-displaying-data.ja-JP.md @@ -17,6 +17,7 @@ UIについて、最も基本的なことは、いくつかのデータを表示 + Hello React diff --git a/docs/docs/02-displaying-data.ko-KR.md b/docs/docs/02-displaying-data.ko-KR.md index 33838ea9551ff..acc7f3c6b47e3 100644 --- a/docs/docs/02-displaying-data.ko-KR.md +++ b/docs/docs/02-displaying-data.ko-KR.md @@ -16,6 +16,7 @@ UI를 가지고 할 수 있는 가장 기초적인 것은 데이터를 표시하 + Hello React diff --git a/docs/docs/02-displaying-data.md b/docs/docs/02-displaying-data.md index e3d00387678d4..f4f00123d28fa 100644 --- a/docs/docs/02-displaying-data.md +++ b/docs/docs/02-displaying-data.md @@ -17,6 +17,7 @@ Let's look at a really simple example. Create a `hello-react.html` file with the + Hello React diff --git a/docs/docs/02-displaying-data.zh-CN.md b/docs/docs/02-displaying-data.zh-CN.md index 4e2a872368ac9..c8bf28a790b30 100644 --- a/docs/docs/02-displaying-data.zh-CN.md +++ b/docs/docs/02-displaying-data.zh-CN.md @@ -18,6 +18,7 @@ next: jsx-in-depth-zh-CN.html + Hello React @@ -80,7 +81,7 @@ React 组件非常简单。你可以认为它们就是简单的函数,接受 ` 我们得出解决这个问题最好的方案是通过 JavaScript 直接生成模板,这样你就可以用一个真正语言的所有表达能力去构建用户界面。为了使这变得更简单,我们做了一个非常简单、**可选**类似 HTML 语法 ,通过函数调用即可生成模板的编译器,称为 JSX。 -**JSX 让你可以用 HTML 语法去写 JavaScript 函数调用** 为了在 React 生成一个链接,通过纯 JavaScript 你可以这么写: +**JSX 让你可以用 HTML 语法去写 JavaScript 函数调用** 为了在 React 生成一个链接,通过纯 JavaScript 你可以这么写: `React.createElement('a', {href: 'https://facebook.github.io/react/'}, 'Hello React!')`。 diff --git a/docs/docs/getting-started.ja-JP.md b/docs/docs/getting-started.ja-JP.md index 7de3305a803a1..d00d622064b60 100644 --- a/docs/docs/getting-started.ja-JP.md +++ b/docs/docs/getting-started.ja-JP.md @@ -29,6 +29,7 @@ React でのハッキングを始めるにあたり、一番簡単なものと + Hello React! @@ -95,6 +96,7 @@ React.render( + Hello React! diff --git a/docs/docs/getting-started.ko-KR.md b/docs/docs/getting-started.ko-KR.md index a80be6bdaf196..58fc155c3271a 100644 --- a/docs/docs/getting-started.ko-KR.md +++ b/docs/docs/getting-started.ko-KR.md @@ -29,6 +29,7 @@ React를 시작하는 가장 빠른 방법은 다음의 Hello World JSFiddle 예 + Hello React! @@ -93,6 +94,7 @@ React.render( + Hello React! diff --git a/docs/docs/getting-started.md b/docs/docs/getting-started.md index d8ccf33e86587..2f19908c312bf 100644 --- a/docs/docs/getting-started.md +++ b/docs/docs/getting-started.md @@ -28,6 +28,7 @@ In the root directory of the starter kit, create a `helloworld.html` with the fo + Hello React! @@ -94,6 +95,7 @@ Update your HTML file as below: + Hello React! @@ -111,7 +113,7 @@ If you want to use React with [browserify](http://browserify.org/), [webpack](ht ## Next Steps -Check out [the tutorial](/react/docs/tutorial.html) and the other examples in the starter kit's `examples` directory to learn more. +Check out [the tutorial](/react/docs/tutorial.html) and the other examples in the starter kit's `examples` directory to learn more. We also have a wiki where the community contributes with [workflows, UI-components, routing, data management etc.](https://github.com/facebook/react/wiki/Complementary-Tools) diff --git a/docs/docs/getting-started.zh-CN.md b/docs/docs/getting-started.zh-CN.md index 7555ed34d94af..7b049ef413479 100644 --- a/docs/docs/getting-started.zh-CN.md +++ b/docs/docs/getting-started.zh-CN.md @@ -29,6 +29,7 @@ redirect_from: "docs/index-zh-CN.html" + Hello React! @@ -94,6 +95,7 @@ React.render( + Hello React! diff --git a/docs/docs/tutorial.ja-JP.md b/docs/docs/tutorial.ja-JP.md index 561d46e0e6146..8d46f925328a8 100644 --- a/docs/docs/tutorial.ja-JP.md +++ b/docs/docs/tutorial.ja-JP.md @@ -39,6 +39,7 @@ next: thinking-in-react-ja-JP.html + Hello React @@ -219,6 +220,7 @@ Markdown はインラインでテキストをフォーマットする簡単な ```html{7} + Hello React diff --git a/docs/docs/tutorial.ko-KR.md b/docs/docs/tutorial.ko-KR.md index 8e07457989ea3..b8009646bcc84 100644 --- a/docs/docs/tutorial.ko-KR.md +++ b/docs/docs/tutorial.ko-KR.md @@ -39,6 +39,7 @@ next: thinking-in-react-ko-KR.html + Hello React @@ -222,6 +223,7 @@ Markdown은 텍스트를 포맷팅하는 간단한 방식입니다. 예를 들 ```html{7} + Hello React diff --git a/docs/docs/tutorial.md b/docs/docs/tutorial.md index 29cf83b7aa82f..aa2f04e98ef45 100644 --- a/docs/docs/tutorial.md +++ b/docs/docs/tutorial.md @@ -38,6 +38,7 @@ For this tutorial, we'll use prebuilt JavaScript files on a CDN. Open up your fa + Hello React @@ -220,6 +221,7 @@ First, add the third-party library **marked** to your application. This is a Jav ```html{7} + Hello React From a9e0b4a0a3f1b96d2aa0c82f27738cf610f8cbd2 Mon Sep 17 00:00:00 2001 From: Kohei TAKATA Date: Fri, 10 Jul 2015 09:16:26 +0900 Subject: [PATCH 2/2] Change number of html{} to highlight correct line --- docs/docs/getting-started.ja-JP.md | 2 +- docs/docs/getting-started.ko-KR.md | 2 +- docs/docs/getting-started.md | 2 +- docs/docs/getting-started.zh-CN.md | 2 +- docs/docs/tutorial.ja-JP.md | 2 +- docs/docs/tutorial.ko-KR.md | 2 +- docs/docs/tutorial.md | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/docs/getting-started.ja-JP.md b/docs/docs/getting-started.ja-JP.md index d00d622064b60..c5f8fef071642 100644 --- a/docs/docs/getting-started.ja-JP.md +++ b/docs/docs/getting-started.ja-JP.md @@ -92,7 +92,7 @@ React.render( 最後に HTML ファイルを以下のように書き換えましょう。 -```html{6,10} +```html{7,11} diff --git a/docs/docs/getting-started.ko-KR.md b/docs/docs/getting-started.ko-KR.md index 58fc155c3271a..3e6ed18c76b1f 100644 --- a/docs/docs/getting-started.ko-KR.md +++ b/docs/docs/getting-started.ko-KR.md @@ -90,7 +90,7 @@ React.render( 아래의 내용대로 HTML 파일을 업데이트합니다: -```html{6,10} +```html{7,11} diff --git a/docs/docs/getting-started.md b/docs/docs/getting-started.md index 2f19908c312bf..f6b758643ab3a 100644 --- a/docs/docs/getting-started.md +++ b/docs/docs/getting-started.md @@ -91,7 +91,7 @@ React.render( Update your HTML file as below: -```html{6,10} +```html{7,11} diff --git a/docs/docs/getting-started.zh-CN.md b/docs/docs/getting-started.zh-CN.md index 7b049ef413479..9b2961bfe13f7 100644 --- a/docs/docs/getting-started.zh-CN.md +++ b/docs/docs/getting-started.zh-CN.md @@ -91,7 +91,7 @@ React.render( 对照下面更新你的 HTML 代码 -```html{6,10} +```html{7,11} diff --git a/docs/docs/tutorial.ja-JP.md b/docs/docs/tutorial.ja-JP.md index 8d46f925328a8..86fff4b312fb0 100644 --- a/docs/docs/tutorial.ja-JP.md +++ b/docs/docs/tutorial.ja-JP.md @@ -217,7 +217,7 @@ Markdown はインラインでテキストをフォーマットする簡単な まず最初に、サードパーティ製の **Showdown** ライブラリをアプリケーションに追加します。 Showdown は Markdown テキストを生の HTML に変換する JavaScript ライブラリです。 既にある head タグの内側に script タグを書き込み、以下のように Showdown を読み込ませます。 -```html{7} +```html{8} diff --git a/docs/docs/tutorial.ko-KR.md b/docs/docs/tutorial.ko-KR.md index b8009646bcc84..ba940240f5ee0 100644 --- a/docs/docs/tutorial.ko-KR.md +++ b/docs/docs/tutorial.ko-KR.md @@ -220,7 +220,7 @@ Markdown은 텍스트를 포맷팅하는 간단한 방식입니다. 예를 들 먼저 서드파티 라이브러리인 **marked**를 애플리케이션에 추가합니다. 이 JavaScript 라이브러리는 Markdown 텍스트를 HTML 문법으로 변환해줍니다. head 태그안에 스크립트 태그를 추가해 주세요. (React playground에는 이미 포함되어 있습니다): -```html{7} +```html{8} diff --git a/docs/docs/tutorial.md b/docs/docs/tutorial.md index aa2f04e98ef45..00963f00657bf 100644 --- a/docs/docs/tutorial.md +++ b/docs/docs/tutorial.md @@ -218,7 +218,7 @@ Markdown is a simple way to format your text inline. For example, surrounding te First, add the third-party library **marked** to your application. This is a JavaScript library which takes Markdown text and converts it to raw HTML. This requires a script tag in your head (which we have already included in the React playground): -```html{7} +```html{8}