Skip to content

Commit

Permalink
docs: update test posts
Browse files Browse the repository at this point in the history
  • Loading branch information
kitian616 committed Feb 10, 2018
1 parent a4539a2 commit 5e32c33
Show file tree
Hide file tree
Showing 22 changed files with 145 additions and 66 deletions.
1 change: 1 addition & 0 deletions _config.demo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ leancloud:
# app_class: #LeanCloud App class

mathjax: true
mathjax_autoNumber: true
mermaid: true
chart: true

Expand Down
1 change: 1 addition & 0 deletions _config.dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ leancloud:
# app_class: #LeanCloud App class

# mathjax: true
# mathjax_autoNumber: true
# mermaid: true
# chart: true

Expand Down
1 change: 1 addition & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ leancloud:
# app_class: #LeanCloud App class

# mathjax: true
# mathjax_autoNumber: true
# mermaid: true
# chart: true

Expand Down
1 change: 1 addition & 0 deletions test/_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ leancloud:
# app_class: #LeanCloud App class

# mathjax: true
# mathjax_autoNumber: true
# mermaid: true
# chart: true

Expand Down
13 changes: 12 additions & 1 deletion test/_posts/2015-03-03-article-with-modify-date.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,15 @@ tags: Test English
modify_date: 2017-09-09
---

Article With Modify Date.
Article With Modify Date.

<!--more-->

**front matter:**

---
layout: post
title: Test - Article With Modify Date
tags: Test English
modify_date: 2017-09-09
---
2 changes: 2 additions & 0 deletions test/_posts/2016-05-04-footnote.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ belong to the previous footnote.

<!--more-->

**markdown:**

Here is a footnote reference,[^1] and another.[^longnote]

[^1]: Here is the footnote.
Expand Down
2 changes: 2 additions & 0 deletions test/_posts/2016-05-05-definition.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ Maruku

<!--more-->

**markdown:**

kramdown
: A Markdown-superset converter

Expand Down
4 changes: 3 additions & 1 deletion test/_posts/2016-05-08-blockquotes.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,13 @@ tags: Jekyll English
<!--more-->

**markdown:**

> "There is nothing either good or bad, but thinking makes it so."
>
> —Hamlet in *Hamlet*

---
<br/>

> "From women's eyes this doctrine I derive:
>
Expand Down
32 changes: 16 additions & 16 deletions test/_posts/2016-06-06-lists.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,28 +13,28 @@ tags: Jekyll English
* eget
* ante

## Ordered list
<!--more-->

1. Aenean
2. vel
3. libero
4. eget
5. ante
**markdown:**

<!--more-->
* Aenean
* vel
* libero
* eget
* ante

```
* Aenean
* vel
* libero
* eget
* ante
```
## Ordered list

```
1. Aenean
2. vel
3. libero
4. eget
5. ante
```

**markdown:**

1. Aenean
2. vel
3. libero
4. eget
5. ante
10 changes: 8 additions & 2 deletions test/_posts/2016-06-10-tables.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ tags: Jekyll English

<!--more-->

**markdown:**

|-----------------+------------+-----------------+----------------|
| Default aligned |Left aligned| Center aligned | Right aligned |
|-----------------|:-----------|:---------------:|---------------:|
Expand All @@ -33,7 +35,7 @@ tags: Jekyll English
| Footer row | | | |
|-----------------+------------+-----------------+----------------|

---
## Align

|---
| Default aligned | Left aligned | Center aligned | Right aligned
Expand All @@ -47,6 +49,8 @@ tags: Jekyll English
|===
| Footer row

**markdown:**

|---
| Default aligned | Left aligned | Center aligned | Right aligned
|-|:-|:-:|-:
Expand All @@ -59,14 +63,16 @@ tags: Jekyll English
|===
| Footer row

---
## Table With Images

| Model | iPhone 6S | iPhone 6S Plus | iPhone SE | iPhone 7 | iPhone 7 Plus | iPhone 8 | iPhone 8 Plus | iPhone X |
| ----- | --------- | -------------- | --------- | -------- | ------------- | -------- | ------------- | -------- |
| Picture | ![](https://upload.wikimedia.org/wikipedia/commons/thumb/9/9b/IPhone_6s_vector.svg/210px-IPhone_6s_vector.svg.png) | ![](https://upload.wikimedia.org/wikipedia/commons/thumb/f/f8/IPhone_6s_Plus_vector.svg/250px-IPhone_6s_Plus_vector.svg.png) | ![](https://upload.wikimedia.org/wikipedia/commons/thumb/c/c9/IPhone_SE_in_silver.png/190px-IPhone_SE_in_silver.png) | ![](https://upload.wikimedia.org/wikipedia/commons/thumb/1/18/IPhone_7_Jet_Black.svg/210px-IPhone_7_Jet_Black.svg.png) | ![](https://upload.wikimedia.org/wikipedia/commons/thumb/6/64/IPhone_7_Plus_Jet_Black.svg/250px-IPhone_7_Plus_Jet_Black.svg.png) | ![](https://upload.wikimedia.org/wikipedia/commons/thumb/5/5d/IPhone_8_vector.svg/210px-IPhone_8_vector.svg.png) | ![](https://upload.wikimedia.org/wikipedia/commons/thumb/7/70/IPhone_8_plus_vector.svg/250px-IPhone_8_plus_vector.svg.png) | ![](https://upload.wikimedia.org/wikipedia/commons/thumb/3/32/IPhone_X_vector.svg/220px-IPhone_X_vector.svg.png) |
| Initial release operating system | iOS 9.0 | iOS 9.0 | iOS 9.3 | iOS 10.0 | iOS 10.0 | iOS 11.0 | iOS 11.0 | iOS 11.0.1 |
| Display | 4.7 in (120 mm), 4.1 in (100 mm) by 2.3 in (58 mm), 16:9 aspect ratio, aluminosilicate glass covered 16,777,216-color (24-bit), IPS LCD screen, 1,334 × 750 px screen resolution at 326 ppi, 1400:1 contrast ratio, 500 ​cd⁄m² max brightness, LED backlight and fingerprint-resistant oleophobic coating | 5.5 in (140 mm), 4.8 in (120 mm) by 2.7 in (69 mm), 16:9 aspect ratio, aluminosilicate glass covered 16,777,216-color (24-bit), IPS LCD screen, 1,920 × 1,080 px (Full HD) screen resolution at 401 ppi, 1300:1 contrast ratio, 500 ​cd⁄m² max brightness, LED backlight and fingerprint-resistant oleophobic coating | 4 in (100 mm), 3.5 in (89 mm) by 1.9 in (48 mm), 71:40 (~16:9) aspect ratio, aluminosilicate glass covered 16,777,216-color (24-bit), IPS LCD screen, 1,136 × 640 px (WSVGA) screen resolution at 326 ppi, pixel size 78 µm, 800:1 contrast ratio, 500 ​cd⁄m² max brightness, LED backlight and fingerprint-resistant oleophobic coating | In addition to 6S: 625 ​cd⁄m² max brightness | In addition to 6S Plus: 625 ​cd⁄m² max brightness | In addition to 7: True Tone display | In addition to 7 Plus: True Tone display | 5.8 in (150 mm), 5.31 in (135 mm) by 2.45 in (62 mm), ~19.5:9 aspect ratio, aluminosilicate glass covered 16,777,216-color (24-bit), AMOLED screen, 2,436 × 1,125 px screen resolution at 458 ppi, 1,000,000:1 contrast ratio, 625 ​cd⁄m² max brightness, fingerprint-resistant oleophobic coating, True Tone display, Dolby Vision and HDR10 support |

## Table With Lone Text

| Language | Demo |
| -------- | ---- |
| C | printf('hello,world!hello,world!hello,world!hello,world!hello,world!hello,world!hello,world!hello,world!hello,world!hello,world!hello,world!hello,world!hello,world!'); |
Expand Down
16 changes: 8 additions & 8 deletions test/_posts/2016-06-16-code.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ in the output!).
This one is separate.
```

---
<br/>

```
(() => console.log('hello, world! hello, world! hello, world! hello, world! hello, world! hello, world! hello, world! hello, world!'))();
Expand All @@ -56,7 +56,7 @@ in the output!).
(() => console.log('hello, world! hello, world! hello, world! hello, world! hello, world! hello, world! hello, world! hello, world!'))();
```

---
<br/>

```javascript
(() => console.log('hello, world!'))();
Expand All @@ -68,13 +68,13 @@ in the output!).
(() => console.log('hello, world!'))();
```

---
<br/>

```none
(() => console.log('hello, world! hello, world! hello, world! hello, world! hello, world! hello, world! hello, world! hello, world!'))();
```

## Highlighting code snippets
## Highlighting Code Snippets

{% highlight javascript %}
(() => console.log('hello, world!'))();
Expand All @@ -90,7 +90,7 @@ in the output!).
{% endraw %}
```

---
### Line Numbers

{% highlight javascript linenos %}
var hello = 'hello';
Expand All @@ -112,7 +112,7 @@ var space = ' ';
{% endraw %}
```

---
<br/>

{% highlight javascript %}
(() => console.log('hello, world! hello, world! hello, world! hello, world! hello, world! hello, world! hello, world! hello, world!'))();
Expand All @@ -135,7 +135,7 @@ Here comes some code.
Here comes some code.
~~~

---
<br/>

~~~~~~~~~~~~
~~~~~~~
Expand Down Expand Up @@ -169,7 +169,7 @@ end
~~~
{: .language-ruby}
---
<br/>
~~~ ruby
def what?
Expand Down
2 changes: 2 additions & 0 deletions test/_posts/2016-07-07-images.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ smile, smile, smile. :smile:

<!--more-->

**markdown:**

![TeXt](https://raw.githubusercontent.com/kitian616/jekyll-TeXt-theme/master/screenshots/TeXt-home.png "TeXt Theme")

smile, smile, smile. :smile:
10 changes: 8 additions & 2 deletions test/_posts/2016-09-01-links.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,16 @@ key: 20160901
tags: Jekyll English
---

## Basic link
## Basic Link

[Qi's Site](https://tianqi.name)

[Qi's Site](https://tianqi.name "lalalala")

<!--more-->

**markdown:**

[Qi's Site](https://tianqi.name)
[Qi's Site](https://tianqi.name "lalalala")

Expand All @@ -22,12 +24,16 @@ My Blog is called [Qi's blog][BLOG].

[BLOG]: https://tianqi.name/blog "lililili"

**markdown:**

My Blog is called [Qi's blog][BLOG].

[BLOG]: https://tianqi.name/blog "lililili"

## Link within a paragraph
## Link Within A Paragraph

TeXt is a succinct theme for blogging, It's simple but not easy. You can find more at [HERE](https://github.com/kitian616/jekyll-TeXt-theme/).

**markdown:**

TeXt is a succinct theme for blogging, It's simple but not easy. You can find more at [HERE](https://github.com/kitian616/jekyll-TeXt-theme/).
20 changes: 10 additions & 10 deletions test/_posts/2016-09-09-emphasis.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,15 @@ _Should Old Acquaintance be forgot_

__Should Old Acquaintance be forgot__

<!--more-->

**markdown:**

*Should Old Acquaintance be forgot*
_Should Old Acquaintance be forgot_
**Should Old Acquaintance be forgot**
__Should Old Acquaintance be forgot__

<br/>

This is a ***text with light and strong emphasis***.
Expand All @@ -23,16 +32,7 @@ This *does _not_ work*.

This **does __not__ work either**.

<!--more-->

<br/>

```
*Should Old Acquaintance be forgot*
_Should Old Acquaintance be forgot_
**Should Old Acquaintance be forgot**
__Should Old Acquaintance be forgot__
```
**markdown:**

```
This is a ***text with light and strong emphasis***.
Expand Down
4 changes: 4 additions & 0 deletions test/_posts/2016-09-19-headers.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ tags: Jekyll English

<!--more-->

**markdown:**

# TeXt Theme Heading
## TeXt Theme Heading
### TeXt Theme Heading
Expand All @@ -32,6 +34,8 @@ First level header
Second level header
------

**markdown:**

First level header
==================

Expand Down
2 changes: 2 additions & 0 deletions test/_posts/2017-04-03-english.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ English is the default language of TeXt, if you set `lang` in _config.yml to the

<!--more-->

**front matter:**

---
layout: post
title: TeXt - English
Expand Down
2 changes: 2 additions & 0 deletions test/_posts/2017-04-12-traditional-chinese.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ lang: zh-Hant

<!--more-->

**front matter:**

---
layout: post
title: TeXt - Traditional Chinese | 繁體中文
Expand Down
2 changes: 2 additions & 0 deletions test/_posts/2017-04-13-simplified-chinese.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ lang: zh-Hans

<!--more-->

**front matter:**

---
layout: post
title: TeXt - Simplified Chinese | 简体中文
Expand Down
Loading

0 comments on commit 5e32c33

Please sign in to comment.