diff --git a/v2/docs/docusaurus.md b/v2/docs/docusaurus.md index b7bf133d9c..7b85506414 100644 --- a/v2/docs/docusaurus.md +++ b/v2/docs/docusaurus.md @@ -1,26 +1,26 @@ ---- -id: docusaurus -title: docusaurus ---- - -

-

Docusaurus

- Docusaurus -

- -

- npm version - CircleCI Status - PRs Welcome - Chat - code style: prettier - Tested with Jest -

- -## Introduction - -Docusaurus is a project for easily building, deploying, and maintaining open source project websites. - -* **Simple to Start** Docusaurus is built to be easy to [get up and running](https://docusaurus.io/docs/en/installation.html) in as little time possible. We've built Docusaurus to handle the website build process so you can focus on your project. -* **Localizable** Docusaurus ships with [localization support](https://docusaurus.io/docs/en/translation.html) via CrowdIn. Empower and grow your international community by translating your documentation. +--- +id: docusaurus +title: docusaurus +--- + +

+

Docusaurus

+ Docusaurus +

+ +

+ npm version + CircleCI Status + PRs Welcome + Chat + code style: prettier + Tested with Jest +

+ +## Introduction + +Docusaurus is a project for easily building, deploying, and maintaining open source project websites. + +* **Simple to Start** Docusaurus is built to be easy to [get up and running](https://docusaurus.io/docs/en/installation.html) in as little time possible. We've built Docusaurus to handle the website build process so you can focus on your project. +* **Localizable** Docusaurus ships with [localization support](https://docusaurus.io/docs/en/translation.html) via CrowdIn. Empower and grow your international community by translating your documentation. * **Customizable** While Docusaurus ships with the key pages and sections you need to get started, including a home page, a docs section, a [blog](https://docusaurus.io/docs/en/blog.html), and additional support pages, it is also [customizable](https://docusaurus.io/docs/en/custom-pages.html) as well to ensure you have a site that is [uniquely yours](https://docusaurus.io/docs/en/api-pages.html). \ No newline at end of file diff --git a/v2/docs/foo/bar.md b/v2/docs/foo/bar.md index f50858ac64..087b4b9ca2 100644 --- a/v2/docs/foo/bar.md +++ b/v2/docs/foo/bar.md @@ -1,51 +1,51 @@ ---- -id: bar -title: My Title ---- - -# Remarkable - -> Experience real-time editing with Remarkable! - -Click the `clear` link to start with a clean slate, or get the `permalink` to share or save your results. - -*** - -# h1 Heading -## h2 Heading -### h3 Heading -#### h4 Heading -##### h5 Heading -###### h6 Heading - - -## Horizontal Rules - -This is horizontal rule - -___ - -*** - -*** - - -## Emphasis - -**This is bold text** - -__This is bold text__ - -*This is italic text* - -_This is italic text_ - -~~Deleted text~~ - -Superscript: 19^th^ - -Subscript: H~2~O - -++Inserted text++ - -==Marked text== +--- +id: bar +title: My Title +--- + +# Remarkable + +> Experience real-time editing with Remarkable! + +Click the `clear` link to start with a clean slate, or get the `permalink` to share or save your results. + +*** + +# h1 Heading +## h2 Heading +### h3 Heading +#### h4 Heading +##### h5 Heading +###### h6 Heading + + +## Horizontal Rules + +This is horizontal rule + +___ + +*** + +*** + + +## Emphasis + +**This is bold text** + +__This is bold text__ + +*This is italic text* + +_This is italic text_ + +~~Deleted text~~ + +Superscript: 19^th^ + +Subscript: H~2~O + +++Inserted text++ + +==Marked text== diff --git a/v2/docs/foo/baz.md b/v2/docs/foo/baz.md index b8fc124222..dcbed35f7b 100644 --- a/v2/docs/foo/baz.md +++ b/v2/docs/foo/baz.md @@ -1,74 +1,74 @@ ---- -id: baz -title: Test Markdown ---- - -## Images - -![Sakura](/img/sakura.png) - -Like links, Images also have a footnote style syntax - -![Alt text][id] - -With a reference later in the document defining the URL location: - -## Links - -[link text](http://dev.nodeca.com) - -[link with title](http://nodeca.github.io/pica/demo/ "title text!") - -Autoconverted link https://github.com/nodeca/pica (enable linkify to see) - - - -## Footnotes - -Footnote 1 link[^first]. - -Footnote 2 link[^second]. - -Inline footnote^[Text of inline footnote] definition. - -Duplicated footnote reference[^second]. - -[^first]: Footnote **can have markup** - - and multiple paragraphs. - -[^second]: Footnote text. - - -## Definition lists - -Term 1 - -: Definition 1 -with lazy continuation. - -Term 2 with *inline markup* - -: Definition 2 - - { some code, part of Definition 2 } - - Third paragraph of definition 2. - -_Compact style:_ - -Term 1 - ~ Definition 1 - -Term 2 - ~ Definition 2a - ~ Definition 2b - - -## Abbreviations - -This is HTML abbreviation example. - -It converts "HTML", but keep intact partial entries like "xxxHTMLyyy" and so on. - -*[HTML]: Hyper Text Markup Language +--- +id: baz +title: Test Markdown +--- + +## Images + +![Sakura](/img/sakura.png) + +Like links, Images also have a footnote style syntax + +![Alt text][id] + +With a reference later in the document defining the URL location: + +## Links + +[link text](http://dev.nodeca.com) + +[link with title](http://nodeca.github.io/pica/demo/ "title text!") + +Autoconverted link https://github.com/nodeca/pica (enable linkify to see) + + + +## Footnotes + +Footnote 1 link[^first]. + +Footnote 2 link[^second]. + +Inline footnote^[Text of inline footnote] definition. + +Duplicated footnote reference[^second]. + +[^first]: Footnote **can have markup** + + and multiple paragraphs. + +[^second]: Footnote text. + + +## Definition lists + +Term 1 + +: Definition 1 +with lazy continuation. + +Term 2 with *inline markup* + +: Definition 2 + + { some code, part of Definition 2 } + + Third paragraph of definition 2. + +_Compact style:_ + +Term 1 + ~ Definition 1 + +Term 2 + ~ Definition 2a + ~ Definition 2b + + +## Abbreviations + +This is HTML abbreviation example. + +It converts "HTML", but keep intact partial entries like "xxxHTMLyyy" and so on. + +*[HTML]: Hyper Text Markup Language diff --git a/v2/docs/hello.md b/v2/docs/hello.md index 0fd648068b..2211ef2718 100644 --- a/v2/docs/hello.md +++ b/v2/docs/hello.md @@ -1,52 +1,52 @@ ---- -id: hello -title: Hello, World ! ---- - -## Relative links - -Replace this -[highlight](highlight.md) [docusaurus](docusaurus.md) - -Can't replace this -[file](file.md) - -Do not replace below - -``` -[highlight](highlight.md) [docusaurus](docusaurus.md) -``` - -## Blockquotes - -> Blockquotes can also be nested... ->> ...by using additional greater-than signs right next to each other... -> > > ...or with spaces between arrows. - - -## Lists - -Unordered - -+ Create a list by starting a line with `+`, `-`, or `*` -+ Sub-lists are made by indenting 2 spaces: - - Marker character change forces new list start: - * Ac tristique libero volutpat at - + Facilisis in pretium nisl aliquet - - Nulla volutpat aliquam velit -+ Very easy! - -Ordered - -1. Lorem ipsum dolor sit amet -2. Consectetur adipiscing elit -3. Integer molestie lorem at massa - - -1. You can use sequential numbers... -1. ...or keep all the numbers as `1.` - -Start numbering with offset: - -57. foo -1. bar +--- +id: hello +title: Hello, World ! +--- + +## Relative links + +Replace this +[highlight](highlight.md) [docusaurus](docusaurus.md) + +Can't replace this +[file](file.md) + +Do not replace below + +``` +[highlight](highlight.md) [docusaurus](docusaurus.md) +``` + +## Blockquotes + +> Blockquotes can also be nested... +>> ...by using additional greater-than signs right next to each other... +> > > ...or with spaces between arrows. + + +## Lists + +Unordered + ++ Create a list by starting a line with `+`, `-`, or `*` ++ Sub-lists are made by indenting 2 spaces: + - Marker character change forces new list start: + * Ac tristique libero volutpat at + + Facilisis in pretium nisl aliquet + - Nulla volutpat aliquam velit ++ Very easy! + +Ordered + +1. Lorem ipsum dolor sit amet +2. Consectetur adipiscing elit +3. Integer molestie lorem at massa + + +1. You can use sequential numbers... +1. ...or keep all the numbers as `1.` + +Start numbering with offset: + +57. foo +1. bar diff --git a/v2/docs/highlight.md b/v2/docs/highlight.md index 371afed03a..4c4562d328 100644 --- a/v2/docs/highlight.md +++ b/v2/docs/highlight.md @@ -1,44 +1,44 @@ ---- -id: highlight -title: Syntax highlighting demo ---- - -```cpp -#include -using namespace std; - -int main() { - cout << "Hello world\n"; - return 0; -} - -``` - -```cpp -#include -using namespace std; - -int main() -{ - int n, i; - bool isPrime = true; - - cout << "Enter a positive integer: "; - cin >> n; - - for(i = 2; i <= n / 2; ++i) - { - if(n % i == 0) - { - isPrime = false; - break; - } - } - if (isPrime) - cout << "This is a prime number"; - else - cout << "This is not a prime number"; - - return 0; -} +--- +id: highlight +title: Syntax highlighting demo +--- + +```cpp +#include +using namespace std; + +int main() { + cout << "Hello world\n"; + return 0; +} + +``` + +```cpp +#include +using namespace std; + +int main() +{ + int n, i; + bool isPrime = true; + + cout << "Enter a positive integer: "; + cin >> n; + + for(i = 2; i <= n / 2; ++i) + { + if(n % i == 0) + { + isPrime = false; + break; + } + } + if (isPrime) + cout << "This is a prime number"; + else + cout << "This is not a prime number"; + + return 0; +} ``` \ No newline at end of file diff --git a/v2/lib/core/devTemplate.ejs b/v2/lib/core/devTemplate.ejs index 400bf45ea1..40db60cae3 100644 --- a/v2/lib/core/devTemplate.ejs +++ b/v2/lib/core/devTemplate.ejs @@ -1,12 +1,12 @@ - - - - - - <%= htmlWebpackPlugin.options.title %> - - -
- - + + + + + + <%= htmlWebpackPlugin.options.title %> + + +
+ + \ No newline at end of file diff --git a/v2/lib/theme/Docs/styles.css b/v2/lib/theme/Docs/styles.css index 5a96e80c85..52f2cff165 100644 --- a/v2/lib/theme/Docs/styles.css +++ b/v2/lib/theme/Docs/styles.css @@ -1,10 +1,10 @@ -.mainContainer { - display: flex; - flex-direction: row; - flex-wrap: wrap; - margin-top: 40px; - margin-bottom: 30px; - margin-left: auto; - margin-right: auto; - justify-content: center; +.mainContainer { + display: flex; + flex-direction: row; + flex-wrap: wrap; + margin-top: 40px; + margin-bottom: 30px; + margin-left: auto; + margin-right: auto; + justify-content: center; } \ No newline at end of file diff --git a/v2/lib/theme/Layout/styles.css b/v2/lib/theme/Layout/styles.css index 55e9df9a57..735c34ca39 100644 --- a/v2/lib/theme/Layout/styles.css +++ b/v2/lib/theme/Layout/styles.css @@ -1,39 +1,39 @@ -.footer { - color: #777; - margin-top: 30px; - padding: 10px 15px; - height: 20px; - text-align: center; - border-top: 1px solid #e6e6e6; -} - -.routeLinks { - margin: 0; - padding: 0; - list-style: none; - position: absolute; - right: 0; - left: 0; -} - -.routeLinks li { - display: inline; -} - -.routeLinks li a { - color: inherit; - margin: 3px; - padding: 3px 7px; - text-decoration: none; - border: 1px solid transparent; - border-radius: 3px; -} - -.routeLinks li a.selected, -.routeLinks li a:hover { - border-color: rgba(175, 47, 47, 0.1); -} - -.routeLinks li a.selected { - border-color: rgba(175, 47, 47, 0.2); +.footer { + color: #777; + margin-top: 30px; + padding: 10px 15px; + height: 20px; + text-align: center; + border-top: 1px solid #e6e6e6; +} + +.routeLinks { + margin: 0; + padding: 0; + list-style: none; + position: absolute; + right: 0; + left: 0; +} + +.routeLinks li { + display: inline; +} + +.routeLinks li a { + color: inherit; + margin: 3px; + padding: 3px 7px; + text-decoration: none; + border: 1px solid transparent; + border-radius: 3px; +} + +.routeLinks li a.selected, +.routeLinks li a:hover { + border-color: rgba(175, 47, 47, 0.1); +} + +.routeLinks li a.selected { + border-color: rgba(175, 47, 47, 0.2); } \ No newline at end of file diff --git a/v2/test/__fixtures__/docs/foo/bar.md b/v2/test/__fixtures__/docs/foo/bar.md index 9f978009c5..ac25e4969a 100644 --- a/v2/test/__fixtures__/docs/foo/bar.md +++ b/v2/test/__fixtures__/docs/foo/bar.md @@ -1,66 +1,66 @@ ---- -id: bar -title: Bar ---- - -# Remarkable - -> Experience real-time editing with Remarkable! - -Click the `clear` link to start with a clean slate, or get the `permalink` to share or save your results. - -*** - -# h1 Heading -## h2 Heading -### h3 Heading -#### h4 Heading -##### h5 Heading -###### h6 Heading - - -## Horizontal Rules - -___ - -*** - -*** - - -## Typographic replacements - -Enable typographer option to see result. - -(c) (C) (r) (R) (tm) (TM) (p) (P) +- - -test.. test... test..... test?..... test!.... - -!!!!!! ???? ,, - -Remarkable -- awesome - -"Smartypants, double quotes" - -'Smartypants, single quotes' - - -## Emphasis - -**This is bold text** - -__This is bold text__ - -*This is italic text* - -_This is italic text_ - -~~Deleted text~~ - -Superscript: 19^th^ - -Subscript: H~2~O - -++Inserted text++ - -==Marked text== +--- +id: bar +title: Bar +--- + +# Remarkable + +> Experience real-time editing with Remarkable! + +Click the `clear` link to start with a clean slate, or get the `permalink` to share or save your results. + +*** + +# h1 Heading +## h2 Heading +### h3 Heading +#### h4 Heading +##### h5 Heading +###### h6 Heading + + +## Horizontal Rules + +___ + +*** + +*** + + +## Typographic replacements + +Enable typographer option to see result. + +(c) (C) (r) (R) (tm) (TM) (p) (P) +- + +test.. test... test..... test?..... test!.... + +!!!!!! ???? ,, + +Remarkable -- awesome + +"Smartypants, double quotes" + +'Smartypants, single quotes' + + +## Emphasis + +**This is bold text** + +__This is bold text__ + +*This is italic text* + +_This is italic text_ + +~~Deleted text~~ + +Superscript: 19^th^ + +Subscript: H~2~O + +++Inserted text++ + +==Marked text== diff --git a/v2/test/__fixtures__/docs/foo/baz.md b/v2/test/__fixtures__/docs/foo/baz.md index 75e9149616..e3be91b5d6 100644 --- a/v2/test/__fixtures__/docs/foo/baz.md +++ b/v2/test/__fixtures__/docs/foo/baz.md @@ -1,74 +1,74 @@ ---- -id: baz -title: baz ---- - -## Images - -Like links, Images also have a footnote style syntax - -![Alt text][id] - -With a reference later in the document defining the URL location: - -[id]: https://octodex.github.com/images/dojocat.jpg "The Dojocat" - -## Links - -[link text](http://dev.nodeca.com) - -[link with title](http://nodeca.github.io/pica/demo/ "title text!") - -Autoconverted link https://github.com/nodeca/pica (enable linkify to see) - - - -## Footnotes - -Footnote 1 link[^first]. - -Footnote 2 link[^second]. - -Inline footnote^[Text of inline footnote] definition. - -Duplicated footnote reference[^second]. - -[^first]: Footnote **can have markup** - - and multiple paragraphs. - -[^second]: Footnote text. - - -## Definition lists - -Term 1 - -: Definition 1 -with lazy continuation. - -Term 2 with *inline markup* - -: Definition 2 - - { some code, part of Definition 2 } - - Third paragraph of definition 2. - -_Compact style:_ - -Term 1 - ~ Definition 1 - -Term 2 - ~ Definition 2a - ~ Definition 2b - - -## Abbreviations - -This is HTML abbreviation example. - -It converts "HTML", but keep intact partial entries like "xxxHTMLyyy" and so on. - -*[HTML]: Hyper Text Markup Language +--- +id: baz +title: baz +--- + +## Images + +Like links, Images also have a footnote style syntax + +![Alt text][id] + +With a reference later in the document defining the URL location: + +[id]: https://octodex.github.com/images/dojocat.jpg "The Dojocat" + +## Links + +[link text](http://dev.nodeca.com) + +[link with title](http://nodeca.github.io/pica/demo/ "title text!") + +Autoconverted link https://github.com/nodeca/pica (enable linkify to see) + + + +## Footnotes + +Footnote 1 link[^first]. + +Footnote 2 link[^second]. + +Inline footnote^[Text of inline footnote] definition. + +Duplicated footnote reference[^second]. + +[^first]: Footnote **can have markup** + + and multiple paragraphs. + +[^second]: Footnote text. + + +## Definition lists + +Term 1 + +: Definition 1 +with lazy continuation. + +Term 2 with *inline markup* + +: Definition 2 + + { some code, part of Definition 2 } + + Third paragraph of definition 2. + +_Compact style:_ + +Term 1 + ~ Definition 1 + +Term 2 + ~ Definition 2a + ~ Definition 2b + + +## Abbreviations + +This is HTML abbreviation example. + +It converts "HTML", but keep intact partial entries like "xxxHTMLyyy" and so on. + +*[HTML]: Hyper Text Markup Language diff --git a/v2/test/__fixtures__/docs/hello.md b/v2/test/__fixtures__/docs/hello.md index ab550d7363..c4aa17696c 100644 --- a/v2/test/__fixtures__/docs/hello.md +++ b/v2/test/__fixtures__/docs/hello.md @@ -1,54 +1,54 @@ ---- -id: hello -title: Hello, World ! ---- - -Hi, Endilie here :) - -## Relative links - -Replace this -[foo](foo/bar.md) - -Can't replace this -[file](file.md) - -Do not replace below - -``` -[hello](hello.md) -``` - -## Blockquotes - -> Blockquotes can also be nested... ->> ...by using additional greater-than signs right next to each other... -> > > ...or with spaces between arrows. - - -## Lists - -Unordered - -+ Create a list by starting a line with `+`, `-`, or `*` -+ Sub-lists are made by indenting 2 spaces: - - Marker character change forces new list start: - * Ac tristique libero volutpat at - + Facilisis in pretium nisl aliquet - - Nulla volutpat aliquam velit -+ Very easy! - -Ordered - -1. Lorem ipsum dolor sit amet -2. Consectetur adipiscing elit -3. Integer molestie lorem at massa - - -1. You can use sequential numbers... -1. ...or keep all the numbers as `1.` - -Start numbering with offset: - -57. foo -1. bar +--- +id: hello +title: Hello, World ! +--- + +Hi, Endilie here :) + +## Relative links + +Replace this +[foo](foo/bar.md) + +Can't replace this +[file](file.md) + +Do not replace below + +``` +[hello](hello.md) +``` + +## Blockquotes + +> Blockquotes can also be nested... +>> ...by using additional greater-than signs right next to each other... +> > > ...or with spaces between arrows. + + +## Lists + +Unordered + ++ Create a list by starting a line with `+`, `-`, or `*` ++ Sub-lists are made by indenting 2 spaces: + - Marker character change forces new list start: + * Ac tristique libero volutpat at + + Facilisis in pretium nisl aliquet + - Nulla volutpat aliquam velit ++ Very easy! + +Ordered + +1. Lorem ipsum dolor sit amet +2. Consectetur adipiscing elit +3. Integer molestie lorem at massa + + +1. You can use sequential numbers... +1. ...or keep all the numbers as `1.` + +Start numbering with offset: + +57. foo +1. bar diff --git a/v2/test/__fixtures__/docs/permalink.md b/v2/test/__fixtures__/docs/permalink.md index 6ca64643b7..14aabbd1f8 100644 --- a/v2/test/__fixtures__/docs/permalink.md +++ b/v2/test/__fixtures__/docs/permalink.md @@ -1,7 +1,7 @@ ---- -id: permalink -title: Permalink -permalink: :baseUrl:docsUrl/:langPart/:versionPart/endiliey/:id ---- - +--- +id: permalink +title: Permalink +permalink: :baseUrl:docsUrl/:langPart/:versionPart/endiliey/:id +--- + This has a different permalink \ No newline at end of file diff --git a/v2/test/__fixtures__/simple-site/pages/index.js b/v2/test/__fixtures__/simple-site/pages/index.js index 58dd9accb1..162626515d 100644 --- a/v2/test/__fixtures__/simple-site/pages/index.js +++ b/v2/test/__fixtures__/simple-site/pages/index.js @@ -1,17 +1,17 @@ -import React from 'react'; -import Helmet from 'react-helmet'; -import Layout from '@theme/Layout'; - -export default class Home extends React.Component { - render() { - return ( - - - Home - - -
Home ...
-
- ); - } -} +import React from 'react'; +import Helmet from 'react-helmet'; +import Layout from '@theme/Layout'; + +export default class Home extends React.Component { + render() { + return ( + + + Home + + +
Home ...
+
+ ); + } +} diff --git a/v2/test/__fixtures__/translated-site/pages/index.js b/v2/test/__fixtures__/translated-site/pages/index.js index 58dd9accb1..162626515d 100644 --- a/v2/test/__fixtures__/translated-site/pages/index.js +++ b/v2/test/__fixtures__/translated-site/pages/index.js @@ -1,17 +1,17 @@ -import React from 'react'; -import Helmet from 'react-helmet'; -import Layout from '@theme/Layout'; - -export default class Home extends React.Component { - render() { - return ( - - - Home - - -
Home ...
-
- ); - } -} +import React from 'react'; +import Helmet from 'react-helmet'; +import Layout from '@theme/Layout'; + +export default class Home extends React.Component { + render() { + return ( + + + Home + + +
Home ...
+
+ ); + } +} diff --git a/v2/test/__fixtures__/translated-site/translated_docs/ko/foo/bar.md b/v2/test/__fixtures__/translated-site/translated_docs/ko/foo/bar.md index a1b031cb23..3b382f24d6 100644 --- a/v2/test/__fixtures__/translated-site/translated_docs/ko/foo/bar.md +++ b/v2/test/__fixtures__/translated-site/translated_docs/ko/foo/bar.md @@ -1,66 +1,66 @@ ---- -id: bar -title: Bar ---- - -# Remarkable - -> Remarkable로 실시간 편집을 경험하십시오! - -깨끗한 슬레이트로 시작하려면`clear` 링크를 클릭하고 결과를 공유하거나 저장하려면`permalink`를 가져옵니다. - -*** - -# h1 제목 -## h2 제목 -### h3 제목 -#### h4 헤딩 -##### h5 제목 -###### h6 제목 - - -## 수평 규칙 - -___ - -*** - -*** - - -## 활자체 대체 - -입력기 옵션을 사용하면 결과를 볼 수 있습니다. - -(p) (P) + - (r) (t) - -테스트 .. 테스트 ... 테스트 ..... 테스트? ..... 테스트! .... - -!!!!!! ???? ,, - -놀라운 - 굉장한 - -"Smartypants, 큰 따옴표" - -'Smartypants, 작은 따옴표' - - -## 강조 - -** 이것은 굵은 글씨입니다 ** - -__ 이것은 굵은 글씨입니다 __ - -* 이탤릭체 텍스트 * - -_ 이탤릭체 텍스트 _ - -~~ 삭제 된 텍스트 ~~ - -위 첨자 : 19 ^ th ^ - -아래 첨자 : H ~ 2 ~ O - -++ 삽입 된 텍스트 ++ - +--- +id: bar +title: Bar +--- + +# Remarkable + +> Remarkable로 실시간 편집을 경험하십시오! + +깨끗한 슬레이트로 시작하려면`clear` 링크를 클릭하고 결과를 공유하거나 저장하려면`permalink`를 가져옵니다. + +*** + +# h1 제목 +## h2 제목 +### h3 제목 +#### h4 헤딩 +##### h5 제목 +###### h6 제목 + + +## 수평 규칙 + +___ + +*** + +*** + + +## 활자체 대체 + +입력기 옵션을 사용하면 결과를 볼 수 있습니다. + +(p) (P) + - (r) (t) + +테스트 .. 테스트 ... 테스트 ..... 테스트? ..... 테스트! .... + +!!!!!! ???? ,, + +놀라운 - 굉장한 + +"Smartypants, 큰 따옴표" + +'Smartypants, 작은 따옴표' + + +## 강조 + +** 이것은 굵은 글씨입니다 ** + +__ 이것은 굵은 글씨입니다 __ + +* 이탤릭체 텍스트 * + +_ 이탤릭체 텍스트 _ + +~~ 삭제 된 텍스트 ~~ + +위 첨자 : 19 ^ th ^ + +아래 첨자 : H ~ 2 ~ O + +++ 삽입 된 텍스트 ++ + == 표시된 텍스트 == \ No newline at end of file diff --git a/v2/test/__fixtures__/translated-site/translated_docs/ko/foo/baz.md b/v2/test/__fixtures__/translated-site/translated_docs/ko/foo/baz.md index c078572ef4..152b84fc0c 100644 --- a/v2/test/__fixtures__/translated-site/translated_docs/ko/foo/baz.md +++ b/v2/test/__fixtures__/translated-site/translated_docs/ko/foo/baz.md @@ -1,74 +1,74 @@ ---- -id: baz -title: baz ---- - -## 이미지 - -링크와 마찬가지로 이미지에도 각주 스타일 구문이 있습니다. - -! [Alt text] [id] - -나중에 URL 위치를 정의하는 문서에서 참조로 : - -[id] : https://octodex.github.com/images/dojocat.jpg "The Dojocat" - -## 링크 - -[링크 텍스트] (http://dev.nodeca.com) - -[제목 링크] (http://nodeca.github.io/pica/demo/ "제목 텍스트!") - -자동 변환 된 링크 https://github.com/nodeca/pica (linkify를 사용하도록 설정) - - - -## 각주 - -각주 1 링크 [^ 첫 번째]. - -각주 2 링크 [^ 초]. - -인라인 각주 ^ [인라인 각주의 텍스트] 정의. - -중복 된 각주 참조 [^ 초]. - -[^ first] : 각주 **는 마크 업을 가질 수 있습니다 ** - -    및 여러 단락. - -[^ 초] : 각주 텍스트. - - -## 정의 목록 - -1 학기 - -정의 1 -게으른 연속. - -* 인라인 마크 업과 함께 2 학기 * - -: 정의 2 - -        {일부 코드, 정의 2의 일부} - -    정의의 세 번째 단락 2. - -_ 컴팩트 스타일 : _ - -1 학기 -  ~ 정의 1 - -2 학기 -  ~ 정의 2a -  ~ 정의 2b - - -## 약어 - -이것은 HTML 약어입니다. - -그것은 "HTML"을 변환하지만 "xxxHTMLyyy"와 같이 부분적인 항목을 그대로 유지합니다. - +--- +id: baz +title: baz +--- + +## 이미지 + +링크와 마찬가지로 이미지에도 각주 스타일 구문이 있습니다. + +! [Alt text] [id] + +나중에 URL 위치를 정의하는 문서에서 참조로 : + +[id] : https://octodex.github.com/images/dojocat.jpg "The Dojocat" + +## 링크 + +[링크 텍스트] (http://dev.nodeca.com) + +[제목 링크] (http://nodeca.github.io/pica/demo/ "제목 텍스트!") + +자동 변환 된 링크 https://github.com/nodeca/pica (linkify를 사용하도록 설정) + + + +## 각주 + +각주 1 링크 [^ 첫 번째]. + +각주 2 링크 [^ 초]. + +인라인 각주 ^ [인라인 각주의 텍스트] 정의. + +중복 된 각주 참조 [^ 초]. + +[^ first] : 각주 **는 마크 업을 가질 수 있습니다 ** + +    및 여러 단락. + +[^ 초] : 각주 텍스트. + + +## 정의 목록 + +1 학기 + +정의 1 +게으른 연속. + +* 인라인 마크 업과 함께 2 학기 * + +: 정의 2 + +        {일부 코드, 정의 2의 일부} + +    정의의 세 번째 단락 2. + +_ 컴팩트 스타일 : _ + +1 학기 +  ~ 정의 1 + +2 학기 +  ~ 정의 2a +  ~ 정의 2b + + +## 약어 + +이것은 HTML 약어입니다. + +그것은 "HTML"을 변환하지만 "xxxHTMLyyy"와 같이 부분적인 항목을 그대로 유지합니다. + * [HTML] : 하이퍼 텍스트 마크 업 언어 \ No newline at end of file diff --git a/v2/test/__fixtures__/translated-site/translated_docs/ko/hello.md b/v2/test/__fixtures__/translated-site/translated_docs/ko/hello.md index 9c67f37d2e..d746e8b73b 100644 --- a/v2/test/__fixtures__/translated-site/translated_docs/ko/hello.md +++ b/v2/test/__fixtures__/translated-site/translated_docs/ko/hello.md @@ -1,40 +1,40 @@ ---- -id: hello -title: Hello, World ! ---- - -안녕하세요, 여기 엔 틸리에 :) - -## Blockquotes - -> Blockquotes는 또한 중첩 될 수 있습니다 ... ->> ... 서로 옆에 큰 더 큰 부호를 사용하여 ... ->>> ... 또는 화살표 사이에 공백이 있어야합니다. - - -## 목록 - -정렬되지 않은 - -+`+`,`-` 또는`*`를 사용하여 행을 시작하여 목록을 만듭니다. -+ 하위 목록은 2 칸을 들여서 만들어집니다 : -   - 마커 문자 변경으로 새로운 목록 시작 : -     * AC tristique libero volutpat at -     + Preisium nisl aliquet에 대한 + 시설 -     - Nulla volutpat aliquam velit -+ 매우 쉽습니다! - -주문 됨 - -1. Lorem ipsum dolor sit amet -2. 컨소시엄 adipiscing 엘리트 -3. massa에서의 정수 lorem - - -1. 일련 번호를 사용할 수 있습니다 ... -1. ... 또는 모든 숫자를 '1'로 유지하십시오. - -오프셋을 사용하여 번호 매기기 시작 : - -57. foo +--- +id: hello +title: Hello, World ! +--- + +안녕하세요, 여기 엔 틸리에 :) + +## Blockquotes + +> Blockquotes는 또한 중첩 될 수 있습니다 ... +>> ... 서로 옆에 큰 더 큰 부호를 사용하여 ... +>>> ... 또는 화살표 사이에 공백이 있어야합니다. + + +## 목록 + +정렬되지 않은 + ++`+`,`-` 또는`*`를 사용하여 행을 시작하여 목록을 만듭니다. ++ 하위 목록은 2 칸을 들여서 만들어집니다 : +   - 마커 문자 변경으로 새로운 목록 시작 : +     * AC tristique libero volutpat at +     + Preisium nisl aliquet에 대한 + 시설 +     - Nulla volutpat aliquam velit ++ 매우 쉽습니다! + +주문 됨 + +1. Lorem ipsum dolor sit amet +2. 컨소시엄 adipiscing 엘리트 +3. massa에서의 정수 lorem + + +1. 일련 번호를 사용할 수 있습니다 ... +1. ... 또는 모든 숫자를 '1'로 유지하십시오. + +오프셋을 사용하여 번호 매기기 시작 : + +57. foo 1. 막대기 \ No newline at end of file diff --git a/v2/test/__fixtures__/transversioned-site/pages/index.js b/v2/test/__fixtures__/transversioned-site/pages/index.js index 58dd9accb1..162626515d 100644 --- a/v2/test/__fixtures__/transversioned-site/pages/index.js +++ b/v2/test/__fixtures__/transversioned-site/pages/index.js @@ -1,17 +1,17 @@ -import React from 'react'; -import Helmet from 'react-helmet'; -import Layout from '@theme/Layout'; - -export default class Home extends React.Component { - render() { - return ( - - - Home - - -
Home ...
-
- ); - } -} +import React from 'react'; +import Helmet from 'react-helmet'; +import Layout from '@theme/Layout'; + +export default class Home extends React.Component { + render() { + return ( + + + Home + + +
Home ...
+
+ ); + } +} diff --git a/v2/test/__fixtures__/transversioned-site/translated_docs/ko/foo/bar.md b/v2/test/__fixtures__/transversioned-site/translated_docs/ko/foo/bar.md index a1b031cb23..3b382f24d6 100644 --- a/v2/test/__fixtures__/transversioned-site/translated_docs/ko/foo/bar.md +++ b/v2/test/__fixtures__/transversioned-site/translated_docs/ko/foo/bar.md @@ -1,66 +1,66 @@ ---- -id: bar -title: Bar ---- - -# Remarkable - -> Remarkable로 실시간 편집을 경험하십시오! - -깨끗한 슬레이트로 시작하려면`clear` 링크를 클릭하고 결과를 공유하거나 저장하려면`permalink`를 가져옵니다. - -*** - -# h1 제목 -## h2 제목 -### h3 제목 -#### h4 헤딩 -##### h5 제목 -###### h6 제목 - - -## 수평 규칙 - -___ - -*** - -*** - - -## 활자체 대체 - -입력기 옵션을 사용하면 결과를 볼 수 있습니다. - -(p) (P) + - (r) (t) - -테스트 .. 테스트 ... 테스트 ..... 테스트? ..... 테스트! .... - -!!!!!! ???? ,, - -놀라운 - 굉장한 - -"Smartypants, 큰 따옴표" - -'Smartypants, 작은 따옴표' - - -## 강조 - -** 이것은 굵은 글씨입니다 ** - -__ 이것은 굵은 글씨입니다 __ - -* 이탤릭체 텍스트 * - -_ 이탤릭체 텍스트 _ - -~~ 삭제 된 텍스트 ~~ - -위 첨자 : 19 ^ th ^ - -아래 첨자 : H ~ 2 ~ O - -++ 삽입 된 텍스트 ++ - +--- +id: bar +title: Bar +--- + +# Remarkable + +> Remarkable로 실시간 편집을 경험하십시오! + +깨끗한 슬레이트로 시작하려면`clear` 링크를 클릭하고 결과를 공유하거나 저장하려면`permalink`를 가져옵니다. + +*** + +# h1 제목 +## h2 제목 +### h3 제목 +#### h4 헤딩 +##### h5 제목 +###### h6 제목 + + +## 수평 규칙 + +___ + +*** + +*** + + +## 활자체 대체 + +입력기 옵션을 사용하면 결과를 볼 수 있습니다. + +(p) (P) + - (r) (t) + +테스트 .. 테스트 ... 테스트 ..... 테스트? ..... 테스트! .... + +!!!!!! ???? ,, + +놀라운 - 굉장한 + +"Smartypants, 큰 따옴표" + +'Smartypants, 작은 따옴표' + + +## 강조 + +** 이것은 굵은 글씨입니다 ** + +__ 이것은 굵은 글씨입니다 __ + +* 이탤릭체 텍스트 * + +_ 이탤릭체 텍스트 _ + +~~ 삭제 된 텍스트 ~~ + +위 첨자 : 19 ^ th ^ + +아래 첨자 : H ~ 2 ~ O + +++ 삽입 된 텍스트 ++ + == 표시된 텍스트 == \ No newline at end of file diff --git a/v2/test/__fixtures__/transversioned-site/translated_docs/ko/foo/baz.md b/v2/test/__fixtures__/transversioned-site/translated_docs/ko/foo/baz.md index c078572ef4..152b84fc0c 100644 --- a/v2/test/__fixtures__/transversioned-site/translated_docs/ko/foo/baz.md +++ b/v2/test/__fixtures__/transversioned-site/translated_docs/ko/foo/baz.md @@ -1,74 +1,74 @@ ---- -id: baz -title: baz ---- - -## 이미지 - -링크와 마찬가지로 이미지에도 각주 스타일 구문이 있습니다. - -! [Alt text] [id] - -나중에 URL 위치를 정의하는 문서에서 참조로 : - -[id] : https://octodex.github.com/images/dojocat.jpg "The Dojocat" - -## 링크 - -[링크 텍스트] (http://dev.nodeca.com) - -[제목 링크] (http://nodeca.github.io/pica/demo/ "제목 텍스트!") - -자동 변환 된 링크 https://github.com/nodeca/pica (linkify를 사용하도록 설정) - - - -## 각주 - -각주 1 링크 [^ 첫 번째]. - -각주 2 링크 [^ 초]. - -인라인 각주 ^ [인라인 각주의 텍스트] 정의. - -중복 된 각주 참조 [^ 초]. - -[^ first] : 각주 **는 마크 업을 가질 수 있습니다 ** - -    및 여러 단락. - -[^ 초] : 각주 텍스트. - - -## 정의 목록 - -1 학기 - -정의 1 -게으른 연속. - -* 인라인 마크 업과 함께 2 학기 * - -: 정의 2 - -        {일부 코드, 정의 2의 일부} - -    정의의 세 번째 단락 2. - -_ 컴팩트 스타일 : _ - -1 학기 -  ~ 정의 1 - -2 학기 -  ~ 정의 2a -  ~ 정의 2b - - -## 약어 - -이것은 HTML 약어입니다. - -그것은 "HTML"을 변환하지만 "xxxHTMLyyy"와 같이 부분적인 항목을 그대로 유지합니다. - +--- +id: baz +title: baz +--- + +## 이미지 + +링크와 마찬가지로 이미지에도 각주 스타일 구문이 있습니다. + +! [Alt text] [id] + +나중에 URL 위치를 정의하는 문서에서 참조로 : + +[id] : https://octodex.github.com/images/dojocat.jpg "The Dojocat" + +## 링크 + +[링크 텍스트] (http://dev.nodeca.com) + +[제목 링크] (http://nodeca.github.io/pica/demo/ "제목 텍스트!") + +자동 변환 된 링크 https://github.com/nodeca/pica (linkify를 사용하도록 설정) + + + +## 각주 + +각주 1 링크 [^ 첫 번째]. + +각주 2 링크 [^ 초]. + +인라인 각주 ^ [인라인 각주의 텍스트] 정의. + +중복 된 각주 참조 [^ 초]. + +[^ first] : 각주 **는 마크 업을 가질 수 있습니다 ** + +    및 여러 단락. + +[^ 초] : 각주 텍스트. + + +## 정의 목록 + +1 학기 + +정의 1 +게으른 연속. + +* 인라인 마크 업과 함께 2 학기 * + +: 정의 2 + +        {일부 코드, 정의 2의 일부} + +    정의의 세 번째 단락 2. + +_ 컴팩트 스타일 : _ + +1 학기 +  ~ 정의 1 + +2 학기 +  ~ 정의 2a +  ~ 정의 2b + + +## 약어 + +이것은 HTML 약어입니다. + +그것은 "HTML"을 변환하지만 "xxxHTMLyyy"와 같이 부분적인 항목을 그대로 유지합니다. + * [HTML] : 하이퍼 텍스트 마크 업 언어 \ No newline at end of file diff --git a/v2/test/__fixtures__/transversioned-site/translated_docs/ko/hello.md b/v2/test/__fixtures__/transversioned-site/translated_docs/ko/hello.md index cb2afd1888..975bea5b01 100644 --- a/v2/test/__fixtures__/transversioned-site/translated_docs/ko/hello.md +++ b/v2/test/__fixtures__/transversioned-site/translated_docs/ko/hello.md @@ -1,54 +1,54 @@ ---- -id: hello -title: Hello, World ! ---- - -안녕하세요, 여기 엔 틸리에 :) - -## 상대 링크 - -이것 바꾸기 -[foo](foo/bar.md) - -이것을 대체 할 수 없습니다. -[파일] (file.md) - -아래를 교체하지 마십시오. - -``` -[hello] (hello.md) -``` - -## Blockquotes - -> Blockquotes는 또한 중첩 될 수 있습니다 ... ->> ... 서로 옆에 큰 더 큰 부호를 사용하여 ... ->>> ... 또는 화살표 사이에 공백이 있어야합니다. - - -## 목록 - -정렬되지 않은 - -+`+`,`-` 또는`*`를 사용하여 행을 시작하여 목록을 만듭니다. -+ 하위 목록은 2 칸을 들여서 만들어집니다 : -   - 마커 문자 변경으로 새로운 목록 시작 : -     * AC tristique libero volutpat at -     + Preisium nisl aliquet에 대한 + 시설 -     - Nulla volutpat aliquam velit -+ 매우 쉽습니다! - -주문 됨 - -1. Lorem ipsum dolor sit amet -2. 컨소시엄 adipiscing 엘리트 -3. massa에서의 정수 lorem - - -1. 일련 번호를 사용할 수 있습니다 ... -1. ... 또는 모든 숫자를 '1'로 유지하십시오. - -오프셋을 사용하여 번호 매기기 시작 : - -57. foo +--- +id: hello +title: Hello, World ! +--- + +안녕하세요, 여기 엔 틸리에 :) + +## 상대 링크 + +이것 바꾸기 +[foo](foo/bar.md) + +이것을 대체 할 수 없습니다. +[파일] (file.md) + +아래를 교체하지 마십시오. + +``` +[hello] (hello.md) +``` + +## Blockquotes + +> Blockquotes는 또한 중첩 될 수 있습니다 ... +>> ... 서로 옆에 큰 더 큰 부호를 사용하여 ... +>>> ... 또는 화살표 사이에 공백이 있어야합니다. + + +## 목록 + +정렬되지 않은 + ++`+`,`-` 또는`*`를 사용하여 행을 시작하여 목록을 만듭니다. ++ 하위 목록은 2 칸을 들여서 만들어집니다 : +   - 마커 문자 변경으로 새로운 목록 시작 : +     * AC tristique libero volutpat at +     + Preisium nisl aliquet에 대한 + 시설 +     - Nulla volutpat aliquam velit ++ 매우 쉽습니다! + +주문 됨 + +1. Lorem ipsum dolor sit amet +2. 컨소시엄 adipiscing 엘리트 +3. massa에서의 정수 lorem + + +1. 일련 번호를 사용할 수 있습니다 ... +1. ... 또는 모든 숫자를 '1'로 유지하십시오. + +오프셋을 사용하여 번호 매기기 시작 : + +57. foo 1. 막대기 \ No newline at end of file diff --git a/v2/test/__fixtures__/transversioned-site/translated_docs/ko/version-1.0.0/foo/bar.md b/v2/test/__fixtures__/transversioned-site/translated_docs/ko/version-1.0.0/foo/bar.md index 6daa8d7b81..a1e336e83d 100644 --- a/v2/test/__fixtures__/transversioned-site/translated_docs/ko/version-1.0.0/foo/bar.md +++ b/v2/test/__fixtures__/transversioned-site/translated_docs/ko/version-1.0.0/foo/bar.md @@ -1,66 +1,66 @@ ---- -id: version-1.0.0-bar -title: Bar ---- - -# Remarkable - -> Remarkable로 실시간 편집을 경험하십시오! - -깨끗한 슬레이트로 시작하려면`clear` 링크를 클릭하고 결과를 공유하거나 저장하려면`permalink`를 가져옵니다. - -*** - -# h1 제목 -## h2 제목 -### h3 제목 -#### h4 헤딩 -##### h5 제목 -###### h6 제목 - - -## 수평 규칙 - -___ - -*** - -*** - - -## 활자체 대체 - -입력기 옵션을 사용하면 결과를 볼 수 있습니다. - -(p) (P) + - (r) (t) - -테스트 .. 테스트 ... 테스트 ..... 테스트? ..... 테스트! .... - -!!!!!! ???? ,, - -놀라운 - 굉장한 - -"Smartypants, 큰 따옴표" - -'Smartypants, 작은 따옴표' - - -## 강조 - -** 이것은 굵은 글씨입니다 ** - -__ 이것은 굵은 글씨입니다 __ - -* 이탤릭체 텍스트 * - -_ 이탤릭체 텍스트 _ - -~~ 삭제 된 텍스트 ~~ - -위 첨자 : 19 ^ th ^ - -아래 첨자 : H ~ 2 ~ O - -++ 삽입 된 텍스트 ++ - +--- +id: version-1.0.0-bar +title: Bar +--- + +# Remarkable + +> Remarkable로 실시간 편집을 경험하십시오! + +깨끗한 슬레이트로 시작하려면`clear` 링크를 클릭하고 결과를 공유하거나 저장하려면`permalink`를 가져옵니다. + +*** + +# h1 제목 +## h2 제목 +### h3 제목 +#### h4 헤딩 +##### h5 제목 +###### h6 제목 + + +## 수평 규칙 + +___ + +*** + +*** + + +## 활자체 대체 + +입력기 옵션을 사용하면 결과를 볼 수 있습니다. + +(p) (P) + - (r) (t) + +테스트 .. 테스트 ... 테스트 ..... 테스트? ..... 테스트! .... + +!!!!!! ???? ,, + +놀라운 - 굉장한 + +"Smartypants, 큰 따옴표" + +'Smartypants, 작은 따옴표' + + +## 강조 + +** 이것은 굵은 글씨입니다 ** + +__ 이것은 굵은 글씨입니다 __ + +* 이탤릭체 텍스트 * + +_ 이탤릭체 텍스트 _ + +~~ 삭제 된 텍스트 ~~ + +위 첨자 : 19 ^ th ^ + +아래 첨자 : H ~ 2 ~ O + +++ 삽입 된 텍스트 ++ + == 표시된 텍스트 == \ No newline at end of file diff --git a/v2/test/__fixtures__/transversioned-site/translated_docs/ko/version-1.0.0/foo/baz.md b/v2/test/__fixtures__/transversioned-site/translated_docs/ko/version-1.0.0/foo/baz.md index 7d057cf795..7116b03d3e 100644 --- a/v2/test/__fixtures__/transversioned-site/translated_docs/ko/version-1.0.0/foo/baz.md +++ b/v2/test/__fixtures__/transversioned-site/translated_docs/ko/version-1.0.0/foo/baz.md @@ -1,74 +1,74 @@ ---- -id: version-1.0.0-baz -title: baz ---- - -## 이미지 - -링크와 마찬가지로 이미지에도 각주 스타일 구문이 있습니다. - -! [Alt text] [id] - -나중에 URL 위치를 정의하는 문서에서 참조로 : - -[id] : https://octodex.github.com/images/dojocat.jpg "The Dojocat" - -## 링크 - -[링크 텍스트] (http://dev.nodeca.com) - -[제목 링크] (http://nodeca.github.io/pica/demo/ "제목 텍스트!") - -자동 변환 된 링크 https://github.com/nodeca/pica (linkify를 사용하도록 설정) - - - -## 각주 - -각주 1 링크 [^ 첫 번째]. - -각주 2 링크 [^ 초]. - -인라인 각주 ^ [인라인 각주의 텍스트] 정의. - -중복 된 각주 참조 [^ 초]. - -[^ first] : 각주 **는 마크 업을 가질 수 있습니다 ** - -    및 여러 단락. - -[^ 초] : 각주 텍스트. - - -## 정의 목록 - -1 학기 - -정의 1 -게으른 연속. - -* 인라인 마크 업과 함께 2 학기 * - -: 정의 2 - -        {일부 코드, 정의 2의 일부} - -    정의의 세 번째 단락 2. - -_ 컴팩트 스타일 : _ - -1 학기 -  ~ 정의 1 - -2 학기 -  ~ 정의 2a -  ~ 정의 2b - - -## 약어 - -이것은 HTML 약어입니다. - -그것은 "HTML"을 변환하지만 "xxxHTMLyyy"와 같이 부분적인 항목을 그대로 유지합니다. - +--- +id: version-1.0.0-baz +title: baz +--- + +## 이미지 + +링크와 마찬가지로 이미지에도 각주 스타일 구문이 있습니다. + +! [Alt text] [id] + +나중에 URL 위치를 정의하는 문서에서 참조로 : + +[id] : https://octodex.github.com/images/dojocat.jpg "The Dojocat" + +## 링크 + +[링크 텍스트] (http://dev.nodeca.com) + +[제목 링크] (http://nodeca.github.io/pica/demo/ "제목 텍스트!") + +자동 변환 된 링크 https://github.com/nodeca/pica (linkify를 사용하도록 설정) + + + +## 각주 + +각주 1 링크 [^ 첫 번째]. + +각주 2 링크 [^ 초]. + +인라인 각주 ^ [인라인 각주의 텍스트] 정의. + +중복 된 각주 참조 [^ 초]. + +[^ first] : 각주 **는 마크 업을 가질 수 있습니다 ** + +    및 여러 단락. + +[^ 초] : 각주 텍스트. + + +## 정의 목록 + +1 학기 + +정의 1 +게으른 연속. + +* 인라인 마크 업과 함께 2 학기 * + +: 정의 2 + +        {일부 코드, 정의 2의 일부} + +    정의의 세 번째 단락 2. + +_ 컴팩트 스타일 : _ + +1 학기 +  ~ 정의 1 + +2 학기 +  ~ 정의 2a +  ~ 정의 2b + + +## 약어 + +이것은 HTML 약어입니다. + +그것은 "HTML"을 변환하지만 "xxxHTMLyyy"와 같이 부분적인 항목을 그대로 유지합니다. + * [HTML] : 하이퍼 텍스트 마크 업 언어 \ No newline at end of file diff --git a/v2/test/__fixtures__/transversioned-site/translated_docs/ko/version-1.0.0/hello.md b/v2/test/__fixtures__/transversioned-site/translated_docs/ko/version-1.0.0/hello.md index 5148b6723f..518c60a257 100644 --- a/v2/test/__fixtures__/transversioned-site/translated_docs/ko/version-1.0.0/hello.md +++ b/v2/test/__fixtures__/transversioned-site/translated_docs/ko/version-1.0.0/hello.md @@ -1,54 +1,54 @@ ---- -id: version-1.0.0-hello -title: Hello, World ! ---- - -안녕하세요, 여기 엔 틸리에 :) - -## 상대 링크 - -이것 바꾸기 -[foo](foo/bar.md) - -이것을 대체 할 수 없습니다. -[파일] (file.md) - -아래를 교체하지 마십시오. - -``` -[hello] (hello.md) -``` - -## Blockquotes - -> Blockquotes는 또한 중첩 될 수 있습니다 ... ->> ... 서로 옆에 큰 더 큰 부호를 사용하여 ... ->>> ... 또는 화살표 사이에 공백이 있어야합니다. - - -## 목록 - -정렬되지 않은 - -+`+`,`-` 또는`*`를 사용하여 행을 시작하여 목록을 만듭니다. -+ 하위 목록은 2 칸을 들여서 만들어집니다 : -   - 마커 문자 변경으로 새로운 목록 시작 : -     * AC tristique libero volutpat at -     + Preisium nisl aliquet에 대한 + 시설 -     - Nulla volutpat aliquam velit -+ 매우 쉽습니다! - -주문 됨 - -1. Lorem ipsum dolor sit amet -2. 컨소시엄 adipiscing 엘리트 -3. massa에서의 정수 lorem - - -1. 일련 번호를 사용할 수 있습니다 ... -1. ... 또는 모든 숫자를 '1'로 유지하십시오. - -오프셋을 사용하여 번호 매기기 시작 : - -57. foo +--- +id: version-1.0.0-hello +title: Hello, World ! +--- + +안녕하세요, 여기 엔 틸리에 :) + +## 상대 링크 + +이것 바꾸기 +[foo](foo/bar.md) + +이것을 대체 할 수 없습니다. +[파일] (file.md) + +아래를 교체하지 마십시오. + +``` +[hello] (hello.md) +``` + +## Blockquotes + +> Blockquotes는 또한 중첩 될 수 있습니다 ... +>> ... 서로 옆에 큰 더 큰 부호를 사용하여 ... +>>> ... 또는 화살표 사이에 공백이 있어야합니다. + + +## 목록 + +정렬되지 않은 + ++`+`,`-` 또는`*`를 사용하여 행을 시작하여 목록을 만듭니다. ++ 하위 목록은 2 칸을 들여서 만들어집니다 : +   - 마커 문자 변경으로 새로운 목록 시작 : +     * AC tristique libero volutpat at +     + Preisium nisl aliquet에 대한 + 시설 +     - Nulla volutpat aliquam velit ++ 매우 쉽습니다! + +주문 됨 + +1. Lorem ipsum dolor sit amet +2. 컨소시엄 adipiscing 엘리트 +3. massa에서의 정수 lorem + + +1. 일련 번호를 사용할 수 있습니다 ... +1. ... 또는 모든 숫자를 '1'로 유지하십시오. + +오프셋을 사용하여 번호 매기기 시작 : + +57. foo 1. 막대기 \ No newline at end of file diff --git a/v2/test/__fixtures__/transversioned-site/translated_docs/ko/version-1.0.1/foo/bar.md b/v2/test/__fixtures__/transversioned-site/translated_docs/ko/version-1.0.1/foo/bar.md index 1e9fefaf12..e07b92e8f4 100644 --- a/v2/test/__fixtures__/transversioned-site/translated_docs/ko/version-1.0.1/foo/bar.md +++ b/v2/test/__fixtures__/transversioned-site/translated_docs/ko/version-1.0.1/foo/bar.md @@ -1,66 +1,66 @@ ---- -id: version-1.0.1-bar -title: Bar ---- - -# Remarkable - -> Remarkable로 실시간 편집을 경험하십시오! - -깨끗한 슬레이트로 시작하려면`clear` 링크를 클릭하고 결과를 공유하거나 저장하려면`permalink`를 가져옵니다. - -*** - -# h1 제목 -## h2 제목 -### h3 제목 -#### h4 헤딩 -##### h5 제목 -###### h6 제목 - - -## 수평 규칙 - -___ - -*** - -*** - - -## 활자체 대체 - -입력기 옵션을 사용하면 결과를 볼 수 있습니다. - -(p) (P) + - (r) (t) - -테스트 .. 테스트 ... 테스트 ..... 테스트? ..... 테스트! .... - -!!!!!! ???? ,, - -놀라운 - 굉장한 - -"Smartypants, 큰 따옴표" - -'Smartypants, 작은 따옴표' - - -## 강조 - -** 이것은 굵은 글씨입니다 ** - -__ 이것은 굵은 글씨입니다 __ - -* 이탤릭체 텍스트 * - -_ 이탤릭체 텍스트 _ - -~~ 삭제 된 텍스트 ~~ - -위 첨자 : 19 ^ th ^ - -아래 첨자 : H ~ 2 ~ O - -++ 삽입 된 텍스트 ++ - +--- +id: version-1.0.1-bar +title: Bar +--- + +# Remarkable + +> Remarkable로 실시간 편집을 경험하십시오! + +깨끗한 슬레이트로 시작하려면`clear` 링크를 클릭하고 결과를 공유하거나 저장하려면`permalink`를 가져옵니다. + +*** + +# h1 제목 +## h2 제목 +### h3 제목 +#### h4 헤딩 +##### h5 제목 +###### h6 제목 + + +## 수평 규칙 + +___ + +*** + +*** + + +## 활자체 대체 + +입력기 옵션을 사용하면 결과를 볼 수 있습니다. + +(p) (P) + - (r) (t) + +테스트 .. 테스트 ... 테스트 ..... 테스트? ..... 테스트! .... + +!!!!!! ???? ,, + +놀라운 - 굉장한 + +"Smartypants, 큰 따옴표" + +'Smartypants, 작은 따옴표' + + +## 강조 + +** 이것은 굵은 글씨입니다 ** + +__ 이것은 굵은 글씨입니다 __ + +* 이탤릭체 텍스트 * + +_ 이탤릭체 텍스트 _ + +~~ 삭제 된 텍스트 ~~ + +위 첨자 : 19 ^ th ^ + +아래 첨자 : H ~ 2 ~ O + +++ 삽입 된 텍스트 ++ + == 표시된 텍스트 == \ No newline at end of file diff --git a/v2/test/__fixtures__/transversioned-site/translated_docs/ko/version-1.0.1/foo/baz.md b/v2/test/__fixtures__/transversioned-site/translated_docs/ko/version-1.0.1/foo/baz.md index e6e285d707..ff79548f92 100644 --- a/v2/test/__fixtures__/transversioned-site/translated_docs/ko/version-1.0.1/foo/baz.md +++ b/v2/test/__fixtures__/transversioned-site/translated_docs/ko/version-1.0.1/foo/baz.md @@ -1,74 +1,74 @@ ---- -id: version-1.0.1-baz -title: baz ---- - -## 이미지 - -링크와 마찬가지로 이미지에도 각주 스타일 구문이 있습니다. - -! [Alt text] [id] - -나중에 URL 위치를 정의하는 문서에서 참조로 : - -[id] : https://octodex.github.com/images/dojocat.jpg "The Dojocat" - -## 링크 - -[링크 텍스트] (http://dev.nodeca.com) - -[제목 링크] (http://nodeca.github.io/pica/demo/ "제목 텍스트!") - -자동 변환 된 링크 https://github.com/nodeca/pica (linkify를 사용하도록 설정) - - - -## 각주 - -각주 1 링크 [^ 첫 번째]. - -각주 2 링크 [^ 초]. - -인라인 각주 ^ [인라인 각주의 텍스트] 정의. - -중복 된 각주 참조 [^ 초]. - -[^ first] : 각주 **는 마크 업을 가질 수 있습니다 ** - -    및 여러 단락. - -[^ 초] : 각주 텍스트. - - -## 정의 목록 - -1 학기 - -정의 1 -게으른 연속. - -* 인라인 마크 업과 함께 2 학기 * - -: 정의 2 - -        {일부 코드, 정의 2의 일부} - -    정의의 세 번째 단락 2. - -_ 컴팩트 스타일 : _ - -1 학기 -  ~ 정의 1 - -2 학기 -  ~ 정의 2a -  ~ 정의 2b - - -## 약어 - -이것은 HTML 약어입니다. - -그것은 "HTML"을 변환하지만 "xxxHTMLyyy"와 같이 부분적인 항목을 그대로 유지합니다. - +--- +id: version-1.0.1-baz +title: baz +--- + +## 이미지 + +링크와 마찬가지로 이미지에도 각주 스타일 구문이 있습니다. + +! [Alt text] [id] + +나중에 URL 위치를 정의하는 문서에서 참조로 : + +[id] : https://octodex.github.com/images/dojocat.jpg "The Dojocat" + +## 링크 + +[링크 텍스트] (http://dev.nodeca.com) + +[제목 링크] (http://nodeca.github.io/pica/demo/ "제목 텍스트!") + +자동 변환 된 링크 https://github.com/nodeca/pica (linkify를 사용하도록 설정) + + + +## 각주 + +각주 1 링크 [^ 첫 번째]. + +각주 2 링크 [^ 초]. + +인라인 각주 ^ [인라인 각주의 텍스트] 정의. + +중복 된 각주 참조 [^ 초]. + +[^ first] : 각주 **는 마크 업을 가질 수 있습니다 ** + +    및 여러 단락. + +[^ 초] : 각주 텍스트. + + +## 정의 목록 + +1 학기 + +정의 1 +게으른 연속. + +* 인라인 마크 업과 함께 2 학기 * + +: 정의 2 + +        {일부 코드, 정의 2의 일부} + +    정의의 세 번째 단락 2. + +_ 컴팩트 스타일 : _ + +1 학기 +  ~ 정의 1 + +2 학기 +  ~ 정의 2a +  ~ 정의 2b + + +## 약어 + +이것은 HTML 약어입니다. + +그것은 "HTML"을 변환하지만 "xxxHTMLyyy"와 같이 부분적인 항목을 그대로 유지합니다. + * [HTML] : 하이퍼 텍스트 마크 업 언어 \ No newline at end of file diff --git a/v2/test/__fixtures__/transversioned-site/translated_docs/ko/version-1.0.1/hello.md b/v2/test/__fixtures__/transversioned-site/translated_docs/ko/version-1.0.1/hello.md index f76f93aabb..12345b404b 100644 --- a/v2/test/__fixtures__/transversioned-site/translated_docs/ko/version-1.0.1/hello.md +++ b/v2/test/__fixtures__/transversioned-site/translated_docs/ko/version-1.0.1/hello.md @@ -1,54 +1,54 @@ ---- -id: version-1.0.1-hello -title: Hello, World ! ---- - -안녕하세요, 여기 엔 틸리에 :) - -## 상대 링크 - -이것 바꾸기 -[foo](foo/bar.md) - -이것을 대체 할 수 없습니다. -[파일] (file.md) - -아래를 교체하지 마십시오. - -``` -[hello] (hello.md) -``` - -## Blockquotes - -> Blockquotes는 또한 중첩 될 수 있습니다 ... ->> ... 서로 옆에 큰 더 큰 부호를 사용하여 ... ->>> ... 또는 화살표 사이에 공백이 있어야합니다. - - -## 목록 - -정렬되지 않은 - -+`+`,`-` 또는`*`를 사용하여 행을 시작하여 목록을 만듭니다. -+ 하위 목록은 2 칸을 들여서 만들어집니다 : -   - 마커 문자 변경으로 새로운 목록 시작 : -     * AC tristique libero volutpat at -     + Preisium nisl aliquet에 대한 + 시설 -     - Nulla volutpat aliquam velit -+ 매우 쉽습니다! - -주문 됨 - -1. Lorem ipsum dolor sit amet -2. 컨소시엄 adipiscing 엘리트 -3. massa에서의 정수 lorem - - -1. 일련 번호를 사용할 수 있습니다 ... -1. ... 또는 모든 숫자를 '1'로 유지하십시오. - -오프셋을 사용하여 번호 매기기 시작 : - -57. foo +--- +id: version-1.0.1-hello +title: Hello, World ! +--- + +안녕하세요, 여기 엔 틸리에 :) + +## 상대 링크 + +이것 바꾸기 +[foo](foo/bar.md) + +이것을 대체 할 수 없습니다. +[파일] (file.md) + +아래를 교체하지 마십시오. + +``` +[hello] (hello.md) +``` + +## Blockquotes + +> Blockquotes는 또한 중첩 될 수 있습니다 ... +>> ... 서로 옆에 큰 더 큰 부호를 사용하여 ... +>>> ... 또는 화살표 사이에 공백이 있어야합니다. + + +## 목록 + +정렬되지 않은 + ++`+`,`-` 또는`*`를 사용하여 행을 시작하여 목록을 만듭니다. ++ 하위 목록은 2 칸을 들여서 만들어집니다 : +   - 마커 문자 변경으로 새로운 목록 시작 : +     * AC tristique libero volutpat at +     + Preisium nisl aliquet에 대한 + 시설 +     - Nulla volutpat aliquam velit ++ 매우 쉽습니다! + +주문 됨 + +1. Lorem ipsum dolor sit amet +2. 컨소시엄 adipiscing 엘리트 +3. massa에서의 정수 lorem + + +1. 일련 번호를 사용할 수 있습니다 ... +1. ... 또는 모든 숫자를 '1'로 유지하십시오. + +오프셋을 사용하여 번호 매기기 시작 : + +57. foo 1. 막대기 \ No newline at end of file diff --git a/v2/test/__fixtures__/transversioned-site/versioned_docs/version-1.0.0/foo/bar.md b/v2/test/__fixtures__/transversioned-site/versioned_docs/version-1.0.0/foo/bar.md index ecaf1c0d11..14e02df835 100644 --- a/v2/test/__fixtures__/transversioned-site/versioned_docs/version-1.0.0/foo/bar.md +++ b/v2/test/__fixtures__/transversioned-site/versioned_docs/version-1.0.0/foo/bar.md @@ -1,66 +1,66 @@ ---- -id: version-1.0.0-bar -title: Bar ---- - -# Remarkable - -> Experience real-time editing with Remarkable! - -Click the `clear` link to start with a clean slate, or get the `permalink` to share or save your results. - -*** - -# h1 Heading -## h2 Heading -### h3 Heading -#### h4 Heading -##### h5 Heading -###### h6 Heading - - -## Horizontal Rules - -___ - -*** - -*** - - -## Typographic replacements - -Enable typographer option to see result. - -(c) (C) (r) (R) (tm) (TM) (p) (P) +- - -test.. test... test..... test?..... test!.... - -!!!!!! ???? ,, - -Remarkable -- awesome - -"Smartypants, double quotes" - -'Smartypants, single quotes' - - -## Emphasis - -**This is bold text** - -__This is bold text__ - -*This is italic text* - -_This is italic text_ - -~~Deleted text~~ - -Superscript: 19^th^ - -Subscript: H~2~O - -++Inserted text++ - -==Marked text== +--- +id: version-1.0.0-bar +title: Bar +--- + +# Remarkable + +> Experience real-time editing with Remarkable! + +Click the `clear` link to start with a clean slate, or get the `permalink` to share or save your results. + +*** + +# h1 Heading +## h2 Heading +### h3 Heading +#### h4 Heading +##### h5 Heading +###### h6 Heading + + +## Horizontal Rules + +___ + +*** + +*** + + +## Typographic replacements + +Enable typographer option to see result. + +(c) (C) (r) (R) (tm) (TM) (p) (P) +- + +test.. test... test..... test?..... test!.... + +!!!!!! ???? ,, + +Remarkable -- awesome + +"Smartypants, double quotes" + +'Smartypants, single quotes' + + +## Emphasis + +**This is bold text** + +__This is bold text__ + +*This is italic text* + +_This is italic text_ + +~~Deleted text~~ + +Superscript: 19^th^ + +Subscript: H~2~O + +++Inserted text++ + +==Marked text== diff --git a/v2/test/__fixtures__/transversioned-site/versioned_docs/version-1.0.0/foo/baz.md b/v2/test/__fixtures__/transversioned-site/versioned_docs/version-1.0.0/foo/baz.md index 3b02bd716c..88b7c49cc7 100644 --- a/v2/test/__fixtures__/transversioned-site/versioned_docs/version-1.0.0/foo/baz.md +++ b/v2/test/__fixtures__/transversioned-site/versioned_docs/version-1.0.0/foo/baz.md @@ -1,74 +1,74 @@ ---- -id: version-1.0.0-baz -title: Baz ---- - -## Images - -Like links, Images also have a footnote style syntax - -![Alt text][id] - -With a reference later in the document defining the URL location: - -[id]: https://octodex.github.com/images/dojocat.jpg "The Dojocat" - -## Links - -[link text](http://dev.nodeca.com) - -[link with title](http://nodeca.github.io/pica/demo/ "title text!") - -Autoconverted link https://github.com/nodeca/pica (enable linkify to see) - - - -## Footnotes - -Footnote 1 link[^first]. - -Footnote 2 link[^second]. - -Inline footnote^[Text of inline footnote] definition. - -Duplicated footnote reference[^second]. - -[^first]: Footnote **can have markup** - - and multiple paragraphs. - -[^second]: Footnote text. - - -## Definition lists - -Term 1 - -: Definition 1 -with lazy continuation. - -Term 2 with *inline markup* - -: Definition 2 - - { some code, part of Definition 2 } - - Third paragraph of definition 2. - -_Compact style:_ - -Term 1 - ~ Definition 1 - -Term 2 - ~ Definition 2a - ~ Definition 2b - - -## Abbreviations - -This is HTML abbreviation example. - -It converts "HTML", but keep intact partial entries like "xxxHTMLyyy" and so on. - -*[HTML]: Hyper Text Markup Language +--- +id: version-1.0.0-baz +title: Baz +--- + +## Images + +Like links, Images also have a footnote style syntax + +![Alt text][id] + +With a reference later in the document defining the URL location: + +[id]: https://octodex.github.com/images/dojocat.jpg "The Dojocat" + +## Links + +[link text](http://dev.nodeca.com) + +[link with title](http://nodeca.github.io/pica/demo/ "title text!") + +Autoconverted link https://github.com/nodeca/pica (enable linkify to see) + + + +## Footnotes + +Footnote 1 link[^first]. + +Footnote 2 link[^second]. + +Inline footnote^[Text of inline footnote] definition. + +Duplicated footnote reference[^second]. + +[^first]: Footnote **can have markup** + + and multiple paragraphs. + +[^second]: Footnote text. + + +## Definition lists + +Term 1 + +: Definition 1 +with lazy continuation. + +Term 2 with *inline markup* + +: Definition 2 + + { some code, part of Definition 2 } + + Third paragraph of definition 2. + +_Compact style:_ + +Term 1 + ~ Definition 1 + +Term 2 + ~ Definition 2a + ~ Definition 2b + + +## Abbreviations + +This is HTML abbreviation example. + +It converts "HTML", but keep intact partial entries like "xxxHTMLyyy" and so on. + +*[HTML]: Hyper Text Markup Language diff --git a/v2/test/__fixtures__/transversioned-site/versioned_docs/version-1.0.0/hello.md b/v2/test/__fixtures__/transversioned-site/versioned_docs/version-1.0.0/hello.md index 56665f5b2e..0fd3feedf2 100644 --- a/v2/test/__fixtures__/transversioned-site/versioned_docs/version-1.0.0/hello.md +++ b/v2/test/__fixtures__/transversioned-site/versioned_docs/version-1.0.0/hello.md @@ -1,54 +1,54 @@ ---- -id: version-1.0.0-hello -title: Hello, World ! ---- - -Hi, Endilie here :) - -## Relative links - -Replace this -[foo](foo/bar.md) - -Can't replace this -[file](file.md) - -Do not replace below - -``` -[hello](hello.md) -``` - -## Blockquotes - -> Blockquotes can also be nested... ->> ...by using additional greater-than signs right next to each other... -> > > ...or with spaces between arrows. - - -## Lists - -Unordered - -+ Create a list by starting a line with `+`, `-`, or `*` -+ Sub-lists are made by indenting 2 spaces: - - Marker character change forces new list start: - * Ac tristique libero volutpat at - + Facilisis in pretium nisl aliquet - - Nulla volutpat aliquam velit -+ Very easy! - -Ordered - -1. Lorem ipsum dolor sit amet -2. Consectetur adipiscing elit -3. Integer molestie lorem at massa - - -1. You can use sequential numbers... -1. ...or keep all the numbers as `1.` - -Start numbering with offset: - -57. foo -1. bar +--- +id: version-1.0.0-hello +title: Hello, World ! +--- + +Hi, Endilie here :) + +## Relative links + +Replace this +[foo](foo/bar.md) + +Can't replace this +[file](file.md) + +Do not replace below + +``` +[hello](hello.md) +``` + +## Blockquotes + +> Blockquotes can also be nested... +>> ...by using additional greater-than signs right next to each other... +> > > ...or with spaces between arrows. + + +## Lists + +Unordered + ++ Create a list by starting a line with `+`, `-`, or `*` ++ Sub-lists are made by indenting 2 spaces: + - Marker character change forces new list start: + * Ac tristique libero volutpat at + + Facilisis in pretium nisl aliquet + - Nulla volutpat aliquam velit ++ Very easy! + +Ordered + +1. Lorem ipsum dolor sit amet +2. Consectetur adipiscing elit +3. Integer molestie lorem at massa + + +1. You can use sequential numbers... +1. ...or keep all the numbers as `1.` + +Start numbering with offset: + +57. foo +1. bar diff --git a/v2/test/__fixtures__/transversioned-site/versioned_docs/version-1.0.1/foo/bar.md b/v2/test/__fixtures__/transversioned-site/versioned_docs/version-1.0.1/foo/bar.md index 03b948629b..e20ab37828 100644 --- a/v2/test/__fixtures__/transversioned-site/versioned_docs/version-1.0.1/foo/bar.md +++ b/v2/test/__fixtures__/transversioned-site/versioned_docs/version-1.0.1/foo/bar.md @@ -1,66 +1,66 @@ ---- -id: version-1.0.1-bar -title: Bar ---- - -# Remarkable - -> Experience real-time editing with Remarkable! - -Click the `clear` link to start with a clean slate, or get the `permalink` to share or save your results. - -*** - -# h1 Heading -## h2 Heading -### h3 Heading -#### h4 Heading -##### h5 Heading -###### h6 Heading - - -## Horizontal Rules - -___ - -*** - -*** - - -## Typographic replacements - -Enable typographer option to see result. - -(c) (C) (r) (R) (tm) (TM) (p) (P) +- - -test.. test... test..... test?..... test!.... - -!!!!!! ???? ,, - -Remarkable -- awesome - -"Smartypants, double quotes" - -'Smartypants, single quotes' - - -## Emphasis - -**This is bold text** - -__This is bold text__ - -*This is italic text* - -_This is italic text_ - -~~Deleted text~~ - -Superscript: 19^th^ - -Subscript: H~2~O - -++Inserted text++ - -==Marked text== +--- +id: version-1.0.1-bar +title: Bar +--- + +# Remarkable + +> Experience real-time editing with Remarkable! + +Click the `clear` link to start with a clean slate, or get the `permalink` to share or save your results. + +*** + +# h1 Heading +## h2 Heading +### h3 Heading +#### h4 Heading +##### h5 Heading +###### h6 Heading + + +## Horizontal Rules + +___ + +*** + +*** + + +## Typographic replacements + +Enable typographer option to see result. + +(c) (C) (r) (R) (tm) (TM) (p) (P) +- + +test.. test... test..... test?..... test!.... + +!!!!!! ???? ,, + +Remarkable -- awesome + +"Smartypants, double quotes" + +'Smartypants, single quotes' + + +## Emphasis + +**This is bold text** + +__This is bold text__ + +*This is italic text* + +_This is italic text_ + +~~Deleted text~~ + +Superscript: 19^th^ + +Subscript: H~2~O + +++Inserted text++ + +==Marked text== diff --git a/v2/test/__fixtures__/transversioned-site/versioned_docs/version-1.0.1/foo/baz.md b/v2/test/__fixtures__/transversioned-site/versioned_docs/version-1.0.1/foo/baz.md index 79aac52ca6..e3df5f410c 100644 --- a/v2/test/__fixtures__/transversioned-site/versioned_docs/version-1.0.1/foo/baz.md +++ b/v2/test/__fixtures__/transversioned-site/versioned_docs/version-1.0.1/foo/baz.md @@ -1,74 +1,74 @@ ---- -id: version-1.0.1-baz -title: Baz ---- - -## Images - -Like links, Images also have a footnote style syntax - -![Alt text][id] - -With a reference later in the document defining the URL location: - -[id]: https://octodex.github.com/images/dojocat.jpg "The Dojocat" - -## Links - -[link text](http://dev.nodeca.com) - -[link with title](http://nodeca.github.io/pica/demo/ "title text!") - -Autoconverted link https://github.com/nodeca/pica (enable linkify to see) - - - -## Footnotes - -Footnote 1 link[^first]. - -Footnote 2 link[^second]. - -Inline footnote^[Text of inline footnote] definition. - -Duplicated footnote reference[^second]. - -[^first]: Footnote **can have markup** - - and multiple paragraphs. - -[^second]: Footnote text. - - -## Definition lists - -Term 1 - -: Definition 1 -with lazy continuation. - -Term 2 with *inline markup* - -: Definition 2 - - { some code, part of Definition 2 } - - Third paragraph of definition 2. - -_Compact style:_ - -Term 1 - ~ Definition 1 - -Term 2 - ~ Definition 2a - ~ Definition 2b - - -## Abbreviations - -This is HTML abbreviation example. - -It converts "HTML", but keep intact partial entries like "xxxHTMLyyy" and so on. - -*[HTML]: Hyper Text Markup Language +--- +id: version-1.0.1-baz +title: Baz +--- + +## Images + +Like links, Images also have a footnote style syntax + +![Alt text][id] + +With a reference later in the document defining the URL location: + +[id]: https://octodex.github.com/images/dojocat.jpg "The Dojocat" + +## Links + +[link text](http://dev.nodeca.com) + +[link with title](http://nodeca.github.io/pica/demo/ "title text!") + +Autoconverted link https://github.com/nodeca/pica (enable linkify to see) + + + +## Footnotes + +Footnote 1 link[^first]. + +Footnote 2 link[^second]. + +Inline footnote^[Text of inline footnote] definition. + +Duplicated footnote reference[^second]. + +[^first]: Footnote **can have markup** + + and multiple paragraphs. + +[^second]: Footnote text. + + +## Definition lists + +Term 1 + +: Definition 1 +with lazy continuation. + +Term 2 with *inline markup* + +: Definition 2 + + { some code, part of Definition 2 } + + Third paragraph of definition 2. + +_Compact style:_ + +Term 1 + ~ Definition 1 + +Term 2 + ~ Definition 2a + ~ Definition 2b + + +## Abbreviations + +This is HTML abbreviation example. + +It converts "HTML", but keep intact partial entries like "xxxHTMLyyy" and so on. + +*[HTML]: Hyper Text Markup Language diff --git a/v2/test/__fixtures__/transversioned-site/versioned_docs/version-1.0.1/hello.md b/v2/test/__fixtures__/transversioned-site/versioned_docs/version-1.0.1/hello.md index 9e6725f688..88394aee1f 100644 --- a/v2/test/__fixtures__/transversioned-site/versioned_docs/version-1.0.1/hello.md +++ b/v2/test/__fixtures__/transversioned-site/versioned_docs/version-1.0.1/hello.md @@ -1,54 +1,54 @@ ---- -id: version-1.0.1-hello -title: Hello, World ! ---- - -Hi, Endilie here :) - -## Relative links - -Replace this -[foo](foo/bar.md) - -Can't replace this -[file](file.md) - -Do not replace below - -``` -[hello](hello.md) -``` - -## Blockquotes - -> Blockquotes can also be nested... ->> ...by using additional greater-than signs right next to each other... -> > > ...or with spaces between arrows. - - -## Lists - -Unordered - -+ Create a list by starting a line with `+`, `-`, or `*` -+ Sub-lists are made by indenting 2 spaces: - - Marker character change forces new list start: - * Ac tristique libero volutpat at - + Facilisis in pretium nisl aliquet - - Nulla volutpat aliquam velit -+ Very easy! - -Ordered - -1. Lorem ipsum dolor sit amet -2. Consectetur adipiscing elit -3. Integer molestie lorem at massa - - -1. You can use sequential numbers... -1. ...or keep all the numbers as `1.` - -Start numbering with offset: - -57. foo -1. bar +--- +id: version-1.0.1-hello +title: Hello, World ! +--- + +Hi, Endilie here :) + +## Relative links + +Replace this +[foo](foo/bar.md) + +Can't replace this +[file](file.md) + +Do not replace below + +``` +[hello](hello.md) +``` + +## Blockquotes + +> Blockquotes can also be nested... +>> ...by using additional greater-than signs right next to each other... +> > > ...or with spaces between arrows. + + +## Lists + +Unordered + ++ Create a list by starting a line with `+`, `-`, or `*` ++ Sub-lists are made by indenting 2 spaces: + - Marker character change forces new list start: + * Ac tristique libero volutpat at + + Facilisis in pretium nisl aliquet + - Nulla volutpat aliquam velit ++ Very easy! + +Ordered + +1. Lorem ipsum dolor sit amet +2. Consectetur adipiscing elit +3. Integer molestie lorem at massa + + +1. You can use sequential numbers... +1. ...or keep all the numbers as `1.` + +Start numbering with offset: + +57. foo +1. bar diff --git a/v2/test/__fixtures__/versioned-site/pages/index.js b/v2/test/__fixtures__/versioned-site/pages/index.js index 58dd9accb1..162626515d 100644 --- a/v2/test/__fixtures__/versioned-site/pages/index.js +++ b/v2/test/__fixtures__/versioned-site/pages/index.js @@ -1,17 +1,17 @@ -import React from 'react'; -import Helmet from 'react-helmet'; -import Layout from '@theme/Layout'; - -export default class Home extends React.Component { - render() { - return ( - - - Home - - -
Home ...
-
- ); - } -} +import React from 'react'; +import Helmet from 'react-helmet'; +import Layout from '@theme/Layout'; + +export default class Home extends React.Component { + render() { + return ( + + + Home + + +
Home ...
+
+ ); + } +} diff --git a/v2/test/__fixtures__/versioned-site/versioned_docs/version-1.0.0/foo/bar.md b/v2/test/__fixtures__/versioned-site/versioned_docs/version-1.0.0/foo/bar.md index ecaf1c0d11..14e02df835 100644 --- a/v2/test/__fixtures__/versioned-site/versioned_docs/version-1.0.0/foo/bar.md +++ b/v2/test/__fixtures__/versioned-site/versioned_docs/version-1.0.0/foo/bar.md @@ -1,66 +1,66 @@ ---- -id: version-1.0.0-bar -title: Bar ---- - -# Remarkable - -> Experience real-time editing with Remarkable! - -Click the `clear` link to start with a clean slate, or get the `permalink` to share or save your results. - -*** - -# h1 Heading -## h2 Heading -### h3 Heading -#### h4 Heading -##### h5 Heading -###### h6 Heading - - -## Horizontal Rules - -___ - -*** - -*** - - -## Typographic replacements - -Enable typographer option to see result. - -(c) (C) (r) (R) (tm) (TM) (p) (P) +- - -test.. test... test..... test?..... test!.... - -!!!!!! ???? ,, - -Remarkable -- awesome - -"Smartypants, double quotes" - -'Smartypants, single quotes' - - -## Emphasis - -**This is bold text** - -__This is bold text__ - -*This is italic text* - -_This is italic text_ - -~~Deleted text~~ - -Superscript: 19^th^ - -Subscript: H~2~O - -++Inserted text++ - -==Marked text== +--- +id: version-1.0.0-bar +title: Bar +--- + +# Remarkable + +> Experience real-time editing with Remarkable! + +Click the `clear` link to start with a clean slate, or get the `permalink` to share or save your results. + +*** + +# h1 Heading +## h2 Heading +### h3 Heading +#### h4 Heading +##### h5 Heading +###### h6 Heading + + +## Horizontal Rules + +___ + +*** + +*** + + +## Typographic replacements + +Enable typographer option to see result. + +(c) (C) (r) (R) (tm) (TM) (p) (P) +- + +test.. test... test..... test?..... test!.... + +!!!!!! ???? ,, + +Remarkable -- awesome + +"Smartypants, double quotes" + +'Smartypants, single quotes' + + +## Emphasis + +**This is bold text** + +__This is bold text__ + +*This is italic text* + +_This is italic text_ + +~~Deleted text~~ + +Superscript: 19^th^ + +Subscript: H~2~O + +++Inserted text++ + +==Marked text== diff --git a/v2/test/__fixtures__/versioned-site/versioned_docs/version-1.0.0/foo/baz.md b/v2/test/__fixtures__/versioned-site/versioned_docs/version-1.0.0/foo/baz.md index 3b02bd716c..88b7c49cc7 100644 --- a/v2/test/__fixtures__/versioned-site/versioned_docs/version-1.0.0/foo/baz.md +++ b/v2/test/__fixtures__/versioned-site/versioned_docs/version-1.0.0/foo/baz.md @@ -1,74 +1,74 @@ ---- -id: version-1.0.0-baz -title: Baz ---- - -## Images - -Like links, Images also have a footnote style syntax - -![Alt text][id] - -With a reference later in the document defining the URL location: - -[id]: https://octodex.github.com/images/dojocat.jpg "The Dojocat" - -## Links - -[link text](http://dev.nodeca.com) - -[link with title](http://nodeca.github.io/pica/demo/ "title text!") - -Autoconverted link https://github.com/nodeca/pica (enable linkify to see) - - - -## Footnotes - -Footnote 1 link[^first]. - -Footnote 2 link[^second]. - -Inline footnote^[Text of inline footnote] definition. - -Duplicated footnote reference[^second]. - -[^first]: Footnote **can have markup** - - and multiple paragraphs. - -[^second]: Footnote text. - - -## Definition lists - -Term 1 - -: Definition 1 -with lazy continuation. - -Term 2 with *inline markup* - -: Definition 2 - - { some code, part of Definition 2 } - - Third paragraph of definition 2. - -_Compact style:_ - -Term 1 - ~ Definition 1 - -Term 2 - ~ Definition 2a - ~ Definition 2b - - -## Abbreviations - -This is HTML abbreviation example. - -It converts "HTML", but keep intact partial entries like "xxxHTMLyyy" and so on. - -*[HTML]: Hyper Text Markup Language +--- +id: version-1.0.0-baz +title: Baz +--- + +## Images + +Like links, Images also have a footnote style syntax + +![Alt text][id] + +With a reference later in the document defining the URL location: + +[id]: https://octodex.github.com/images/dojocat.jpg "The Dojocat" + +## Links + +[link text](http://dev.nodeca.com) + +[link with title](http://nodeca.github.io/pica/demo/ "title text!") + +Autoconverted link https://github.com/nodeca/pica (enable linkify to see) + + + +## Footnotes + +Footnote 1 link[^first]. + +Footnote 2 link[^second]. + +Inline footnote^[Text of inline footnote] definition. + +Duplicated footnote reference[^second]. + +[^first]: Footnote **can have markup** + + and multiple paragraphs. + +[^second]: Footnote text. + + +## Definition lists + +Term 1 + +: Definition 1 +with lazy continuation. + +Term 2 with *inline markup* + +: Definition 2 + + { some code, part of Definition 2 } + + Third paragraph of definition 2. + +_Compact style:_ + +Term 1 + ~ Definition 1 + +Term 2 + ~ Definition 2a + ~ Definition 2b + + +## Abbreviations + +This is HTML abbreviation example. + +It converts "HTML", but keep intact partial entries like "xxxHTMLyyy" and so on. + +*[HTML]: Hyper Text Markup Language diff --git a/v2/test/__fixtures__/versioned-site/versioned_docs/version-1.0.0/hello.md b/v2/test/__fixtures__/versioned-site/versioned_docs/version-1.0.0/hello.md index ef91d00826..cfac7f3eeb 100644 --- a/v2/test/__fixtures__/versioned-site/versioned_docs/version-1.0.0/hello.md +++ b/v2/test/__fixtures__/versioned-site/versioned_docs/version-1.0.0/hello.md @@ -1,40 +1,40 @@ ---- -id: version-1.0.0-hello -title: Hello, World ! ---- - -Hi, Endilie here :) - -## Blockquotes - -> Blockquotes can also be nested... ->> ...by using additional greater-than signs right next to each other... -> > > ...or with spaces between arrows. - - -## Lists - -Unordered - -+ Create a list by starting a line with `+`, `-`, or `*` -+ Sub-lists are made by indenting 2 spaces: - - Marker character change forces new list start: - * Ac tristique libero volutpat at - + Facilisis in pretium nisl aliquet - - Nulla volutpat aliquam velit -+ Very easy! - -Ordered - -1. Lorem ipsum dolor sit amet -2. Consectetur adipiscing elit -3. Integer molestie lorem at massa - - -1. You can use sequential numbers... -1. ...or keep all the numbers as `1.` - -Start numbering with offset: - -57. foo -1. bar +--- +id: version-1.0.0-hello +title: Hello, World ! +--- + +Hi, Endilie here :) + +## Blockquotes + +> Blockquotes can also be nested... +>> ...by using additional greater-than signs right next to each other... +> > > ...or with spaces between arrows. + + +## Lists + +Unordered + ++ Create a list by starting a line with `+`, `-`, or `*` ++ Sub-lists are made by indenting 2 spaces: + - Marker character change forces new list start: + * Ac tristique libero volutpat at + + Facilisis in pretium nisl aliquet + - Nulla volutpat aliquam velit ++ Very easy! + +Ordered + +1. Lorem ipsum dolor sit amet +2. Consectetur adipiscing elit +3. Integer molestie lorem at massa + + +1. You can use sequential numbers... +1. ...or keep all the numbers as `1.` + +Start numbering with offset: + +57. foo +1. bar diff --git a/v2/test/__fixtures__/versioned-site/versioned_docs/version-1.0.1/foo/bar.md b/v2/test/__fixtures__/versioned-site/versioned_docs/version-1.0.1/foo/bar.md index 03b948629b..e20ab37828 100644 --- a/v2/test/__fixtures__/versioned-site/versioned_docs/version-1.0.1/foo/bar.md +++ b/v2/test/__fixtures__/versioned-site/versioned_docs/version-1.0.1/foo/bar.md @@ -1,66 +1,66 @@ ---- -id: version-1.0.1-bar -title: Bar ---- - -# Remarkable - -> Experience real-time editing with Remarkable! - -Click the `clear` link to start with a clean slate, or get the `permalink` to share or save your results. - -*** - -# h1 Heading -## h2 Heading -### h3 Heading -#### h4 Heading -##### h5 Heading -###### h6 Heading - - -## Horizontal Rules - -___ - -*** - -*** - - -## Typographic replacements - -Enable typographer option to see result. - -(c) (C) (r) (R) (tm) (TM) (p) (P) +- - -test.. test... test..... test?..... test!.... - -!!!!!! ???? ,, - -Remarkable -- awesome - -"Smartypants, double quotes" - -'Smartypants, single quotes' - - -## Emphasis - -**This is bold text** - -__This is bold text__ - -*This is italic text* - -_This is italic text_ - -~~Deleted text~~ - -Superscript: 19^th^ - -Subscript: H~2~O - -++Inserted text++ - -==Marked text== +--- +id: version-1.0.1-bar +title: Bar +--- + +# Remarkable + +> Experience real-time editing with Remarkable! + +Click the `clear` link to start with a clean slate, or get the `permalink` to share or save your results. + +*** + +# h1 Heading +## h2 Heading +### h3 Heading +#### h4 Heading +##### h5 Heading +###### h6 Heading + + +## Horizontal Rules + +___ + +*** + +*** + + +## Typographic replacements + +Enable typographer option to see result. + +(c) (C) (r) (R) (tm) (TM) (p) (P) +- + +test.. test... test..... test?..... test!.... + +!!!!!! ???? ,, + +Remarkable -- awesome + +"Smartypants, double quotes" + +'Smartypants, single quotes' + + +## Emphasis + +**This is bold text** + +__This is bold text__ + +*This is italic text* + +_This is italic text_ + +~~Deleted text~~ + +Superscript: 19^th^ + +Subscript: H~2~O + +++Inserted text++ + +==Marked text== diff --git a/v2/test/__fixtures__/versioned-site/versioned_docs/version-1.0.1/foo/baz.md b/v2/test/__fixtures__/versioned-site/versioned_docs/version-1.0.1/foo/baz.md index 79aac52ca6..e3df5f410c 100644 --- a/v2/test/__fixtures__/versioned-site/versioned_docs/version-1.0.1/foo/baz.md +++ b/v2/test/__fixtures__/versioned-site/versioned_docs/version-1.0.1/foo/baz.md @@ -1,74 +1,74 @@ ---- -id: version-1.0.1-baz -title: Baz ---- - -## Images - -Like links, Images also have a footnote style syntax - -![Alt text][id] - -With a reference later in the document defining the URL location: - -[id]: https://octodex.github.com/images/dojocat.jpg "The Dojocat" - -## Links - -[link text](http://dev.nodeca.com) - -[link with title](http://nodeca.github.io/pica/demo/ "title text!") - -Autoconverted link https://github.com/nodeca/pica (enable linkify to see) - - - -## Footnotes - -Footnote 1 link[^first]. - -Footnote 2 link[^second]. - -Inline footnote^[Text of inline footnote] definition. - -Duplicated footnote reference[^second]. - -[^first]: Footnote **can have markup** - - and multiple paragraphs. - -[^second]: Footnote text. - - -## Definition lists - -Term 1 - -: Definition 1 -with lazy continuation. - -Term 2 with *inline markup* - -: Definition 2 - - { some code, part of Definition 2 } - - Third paragraph of definition 2. - -_Compact style:_ - -Term 1 - ~ Definition 1 - -Term 2 - ~ Definition 2a - ~ Definition 2b - - -## Abbreviations - -This is HTML abbreviation example. - -It converts "HTML", but keep intact partial entries like "xxxHTMLyyy" and so on. - -*[HTML]: Hyper Text Markup Language +--- +id: version-1.0.1-baz +title: Baz +--- + +## Images + +Like links, Images also have a footnote style syntax + +![Alt text][id] + +With a reference later in the document defining the URL location: + +[id]: https://octodex.github.com/images/dojocat.jpg "The Dojocat" + +## Links + +[link text](http://dev.nodeca.com) + +[link with title](http://nodeca.github.io/pica/demo/ "title text!") + +Autoconverted link https://github.com/nodeca/pica (enable linkify to see) + + + +## Footnotes + +Footnote 1 link[^first]. + +Footnote 2 link[^second]. + +Inline footnote^[Text of inline footnote] definition. + +Duplicated footnote reference[^second]. + +[^first]: Footnote **can have markup** + + and multiple paragraphs. + +[^second]: Footnote text. + + +## Definition lists + +Term 1 + +: Definition 1 +with lazy continuation. + +Term 2 with *inline markup* + +: Definition 2 + + { some code, part of Definition 2 } + + Third paragraph of definition 2. + +_Compact style:_ + +Term 1 + ~ Definition 1 + +Term 2 + ~ Definition 2a + ~ Definition 2b + + +## Abbreviations + +This is HTML abbreviation example. + +It converts "HTML", but keep intact partial entries like "xxxHTMLyyy" and so on. + +*[HTML]: Hyper Text Markup Language diff --git a/v2/test/__fixtures__/versioned-site/versioned_docs/version-1.0.1/hello.md b/v2/test/__fixtures__/versioned-site/versioned_docs/version-1.0.1/hello.md index 3a81461691..41f40f4754 100644 --- a/v2/test/__fixtures__/versioned-site/versioned_docs/version-1.0.1/hello.md +++ b/v2/test/__fixtures__/versioned-site/versioned_docs/version-1.0.1/hello.md @@ -1,40 +1,40 @@ ---- -id: version-1.0.1-hello -title: Hello, World ! ---- - -Hi, Endilie here :) - -## Blockquotes - -> Blockquotes can also be nested... ->> ...by using additional greater-than signs right next to each other... -> > > ...or with spaces between arrows. - - -## Lists - -Unordered - -+ Create a list by starting a line with `+`, `-`, or `*` -+ Sub-lists are made by indenting 2 spaces: - - Marker character change forces new list start: - * Ac tristique libero volutpat at - + Facilisis in pretium nisl aliquet - - Nulla volutpat aliquam velit -+ Very easy! - -Ordered - -1. Lorem ipsum dolor sit amet -2. Consectetur adipiscing elit -3. Integer molestie lorem at massa - - -1. You can use sequential numbers... -1. ...or keep all the numbers as `1.` - -Start numbering with offset: - -57. foo -1. bar +--- +id: version-1.0.1-hello +title: Hello, World ! +--- + +Hi, Endilie here :) + +## Blockquotes + +> Blockquotes can also be nested... +>> ...by using additional greater-than signs right next to each other... +> > > ...or with spaces between arrows. + + +## Lists + +Unordered + ++ Create a list by starting a line with `+`, `-`, or `*` ++ Sub-lists are made by indenting 2 spaces: + - Marker character change forces new list start: + * Ac tristique libero volutpat at + + Facilisis in pretium nisl aliquet + - Nulla volutpat aliquam velit ++ Very easy! + +Ordered + +1. Lorem ipsum dolor sit amet +2. Consectetur adipiscing elit +3. Integer molestie lorem at massa + + +1. You can use sequential numbers... +1. ...or keep all the numbers as `1.` + +Start numbering with offset: + +57. foo +1. bar diff --git a/v2/test/load/__fixtures__/wrong-site/siteConfig.js b/v2/test/load/__fixtures__/wrong-site/siteConfig.js index 49d6f120be..2da4230ac5 100644 --- a/v2/test/load/__fixtures__/wrong-site/siteConfig.js +++ b/v2/test/load/__fixtures__/wrong-site/siteConfig.js @@ -1,11 +1,11 @@ -module.exports = { - title: 'Hello', - tagline: 'Hello World', - organizationName: 'endiliey', - projectName: 'hello', - baseUrl: '/', - useLessField: 'what', - superman: 'lol', - admin: 'endi', - customFields: ['admin', 'superman'] -}; +module.exports = { + title: 'Hello', + tagline: 'Hello World', + organizationName: 'endiliey', + projectName: 'hello', + baseUrl: '/', + useLessField: 'what', + superman: 'lol', + admin: 'endi', + customFields: ['admin', 'superman'] +}; diff --git a/v2/website/components/Tictactoe/index.js b/v2/website/components/Tictactoe/index.js index 9602eaa1e7..9c2051109e 100644 --- a/v2/website/components/Tictactoe/index.js +++ b/v2/website/components/Tictactoe/index.js @@ -1,106 +1,106 @@ -import React from 'react'; -import Helmet from 'react-helmet'; -import Layout from '@theme/Layout'; -import Board from './board'; -import styles from './styles.css'; - -class Game extends React.Component { - constructor(props) { - super(props); - this.state = { - history: [ - { - squares: Array(9).fill(null) - } - ], - stepNumber: 0, - xIsNext: true - }; - } - - calculateWinner(squares) { - const lines = [ - [0, 1, 2], - [3, 4, 5], - [6, 7, 8], - [0, 3, 6], - [1, 4, 7], - [2, 5, 8], - [0, 4, 8], - [2, 4, 6] - ]; - for (let i = 0; i < lines.length; i++) { - const [a, b, c] = lines[i]; - if ( - squares[a] && - squares[a] === squares[b] && - squares[a] === squares[c] - ) { - return squares[a]; - } - } - return null; - } - - handleClick(i) { - const history = this.state.history.slice(0, this.state.stepNumber + 1); - const current = history[history.length - 1]; - const squares = current.squares.slice(); - if (this.calculateWinner(squares) || squares[i]) { - return; - } - squares[i] = this.state.xIsNext ? 'X' : 'O'; - this.setState({ - history: history.concat([ - { - squares: squares - } - ]), - stepNumber: history.length, - xIsNext: !this.state.xIsNext - }); - } - - jumpTo(step) { - this.setState({ - stepNumber: step, - xIsNext: step % 2 === 0 - }); - } - - render() { - const history = this.state.history; - const current = history[this.state.stepNumber]; - const winner = this.calculateWinner(current.squares); - - const moves = history.map((step, move) => { - const desc = move ? 'Go to move #' + move : 'Go to game start'; - return ( -
  • - -
  • - ); - }); - - let status; - if (winner) { - status = 'Winner: ' + winner; - } else { - status = 'Next player: ' + (this.state.xIsNext ? 'X' : 'O'); - } - - return ( -
    -
    - this.handleClick(i)} /> -
    -
    -
    {status}
    -
      {moves}
    -
    -
    - ); - } -} - -export default Game; +import React from 'react'; +import Helmet from 'react-helmet'; +import Layout from '@theme/Layout'; +import Board from './board'; +import styles from './styles.css'; + +class Game extends React.Component { + constructor(props) { + super(props); + this.state = { + history: [ + { + squares: Array(9).fill(null) + } + ], + stepNumber: 0, + xIsNext: true + }; + } + + calculateWinner(squares) { + const lines = [ + [0, 1, 2], + [3, 4, 5], + [6, 7, 8], + [0, 3, 6], + [1, 4, 7], + [2, 5, 8], + [0, 4, 8], + [2, 4, 6] + ]; + for (let i = 0; i < lines.length; i++) { + const [a, b, c] = lines[i]; + if ( + squares[a] && + squares[a] === squares[b] && + squares[a] === squares[c] + ) { + return squares[a]; + } + } + return null; + } + + handleClick(i) { + const history = this.state.history.slice(0, this.state.stepNumber + 1); + const current = history[history.length - 1]; + const squares = current.squares.slice(); + if (this.calculateWinner(squares) || squares[i]) { + return; + } + squares[i] = this.state.xIsNext ? 'X' : 'O'; + this.setState({ + history: history.concat([ + { + squares: squares + } + ]), + stepNumber: history.length, + xIsNext: !this.state.xIsNext + }); + } + + jumpTo(step) { + this.setState({ + stepNumber: step, + xIsNext: step % 2 === 0 + }); + } + + render() { + const history = this.state.history; + const current = history[this.state.stepNumber]; + const winner = this.calculateWinner(current.squares); + + const moves = history.map((step, move) => { + const desc = move ? 'Go to move #' + move : 'Go to game start'; + return ( +
  • + +
  • + ); + }); + + let status; + if (winner) { + status = 'Winner: ' + winner; + } else { + status = 'Next player: ' + (this.state.xIsNext ? 'X' : 'O'); + } + + return ( +
    +
    + this.handleClick(i)} /> +
    +
    +
    {status}
    +
      {moves}
    +
    +
    + ); + } +} + +export default Game; diff --git a/v2/website/components/Tictactoe/styles.css b/v2/website/components/Tictactoe/styles.css index 5d5a305eba..3785308702 100644 --- a/v2/website/components/Tictactoe/styles.css +++ b/v2/website/components/Tictactoe/styles.css @@ -1,44 +1,44 @@ -.boardRow:after { - clear: both; - content: ""; - display: table; -} - -.status { - margin-bottom: 10px; -} - -.square { - background: #fff; - border: 1px solid #999; - float: left; - font-size: 24px; - font-weight: bold; - line-height: 34px; - height: 34px; - margin-right: -1px; - margin-top: -1px; - padding: 0; - text-align: center; - width: 34px; -} - -.square:focus { - outline: none; -} - -.game { - display: flex; - flex-direction: row; - margin-left: auto; - margin-right: auto; - justify-content: center; -} - -.gameInfo { - margin-left: 20px; -} - -.gameBoard { - margin-left: 10px; +.boardRow:after { + clear: both; + content: ""; + display: table; +} + +.status { + margin-bottom: 10px; +} + +.square { + background: #fff; + border: 1px solid #999; + float: left; + font-size: 24px; + font-weight: bold; + line-height: 34px; + height: 34px; + margin-right: -1px; + margin-top: -1px; + padding: 0; + text-align: center; + width: 34px; +} + +.square:focus { + outline: none; +} + +.game { + display: flex; + flex-direction: row; + margin-left: auto; + margin-right: auto; + justify-content: center; +} + +.gameInfo { + margin-left: 20px; +} + +.gameBoard { + margin-left: 10px; } \ No newline at end of file diff --git a/v2/website/package.json b/v2/website/package.json index 050e454bfb..677e2ef3ff 100644 --- a/v2/website/package.json +++ b/v2/website/package.json @@ -1,9 +1,9 @@ -{ - "scripts": { - "start": "node ../bin/munseo start", - "build": "node ../bin/munseo build" - }, - "dependencies": { - "munseo": "../../munseo/" - } +{ + "scripts": { + "start": "node ../bin/munseo start", + "build": "node ../bin/munseo build" + }, + "dependencies": { + "munseo": "../../munseo/" + } } \ No newline at end of file diff --git a/v2/website/pages/index.js b/v2/website/pages/index.js index 951a4b8598..a79f52ddb8 100644 --- a/v2/website/pages/index.js +++ b/v2/website/pages/index.js @@ -1,18 +1,18 @@ -import React from 'react'; -import Helmet from 'react-helmet'; -import Layout from '@theme/Layout'; -import Todo from '@site/components/Todo'; - -export default class Home extends React.Component { - render() { - return ( - - - Todo App - - - - - ); - } -} +import React from 'react'; +import Helmet from 'react-helmet'; +import Layout from '@theme/Layout'; +import Todo from '@site/components/Todo'; + +export default class Home extends React.Component { + render() { + return ( + + + Todo App + + + + + ); + } +} diff --git a/v2/website/siteConfig.js b/v2/website/siteConfig.js index 7155f839a6..4c261d7b27 100644 --- a/v2/website/siteConfig.js +++ b/v2/website/siteConfig.js @@ -1,7 +1,7 @@ -module.exports = { - title: 'Munseo', - tagline: '📝⚡️ Transform your document (문서) to a website', - organizationName: 'endiliey', - projectName: 'munseo', - baseUrl: '/' -}; +module.exports = { + title: 'Munseo', + tagline: '📝⚡️ Transform your document (문서) to a website', + organizationName: 'endiliey', + projectName: 'munseo', + baseUrl: '/' +};