Skip to content

Commit

Permalink
docs: update
Browse files Browse the repository at this point in the history
  • Loading branch information
kitian616 committed Oct 20, 2018
1 parent 181bbc3 commit 8f275df
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 9 deletions.
8 changes: 4 additions & 4 deletions docs/_data/navigation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,12 @@ docs-en:
children:
- title: Writing Posts
url: /docs/en/writing-posts
- title: Markdown Enhancements
url: /docs/en/markdown-enhancements
- title: Additional Styles
url: /docs/en/additional-styles
- title: Plugins
url: /docs/en/plugins
- title: Markdown Enhancements
url: /docs/en/markdown-enhancements
- title: Extra
children:
- title: Spacing
Expand Down Expand Up @@ -91,12 +91,12 @@ docs-zh:
children:
- title: 撰写博客
url: /docs/zh/writing-posts
- title: Markdown 增强
url: /docs/zh/markdown-enhancements
- title: 附加样式
url: /docs/zh/additional-styles
- title: 插件
url: /docs/zh/plugins
- title: Markdown 增强
url: /docs/zh/markdown-enhancements
- title: 其他语言
children:
- title: English
Expand Down
2 changes: 2 additions & 0 deletions docs/_posts/2017-05-05-chart.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ chart: true
You need set `chart: true` in the *_config.yml* or the markdown’s front matter to **enable** it.
{:.warning}

[Documentation](https://tianqi.name/jekyll-TeXt-theme/docs/en/markdown-enhancements#chart)

## Line Chart

```chart
Expand Down
2 changes: 2 additions & 0 deletions docs/_posts/2017-06-06-mermaid.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ graph TB;
You need set `mermaid: true` in the *_config.yml* or the markdown’s front matter to **enable** it.
{:.warning}

[Documentation](https://tianqi.name/jekyll-TeXt-theme/docs/en/markdown-enhancements#mermaid)

Generation of diagrams and flowcharts from text in a similar manner as markdown.

Ever wanted to simplify documentation and avoid heavy tools like Visio when explaining your code?
Expand Down
2 changes: 2 additions & 0 deletions docs/_posts/2017-07-07-mathjax.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ You need set `mathjax: true` in the *_config.yml* or the markdown’s front matt
**After MathJax enabled**, you can set `mathjax_autoNumber: true` to have equations be numbered automatically, You can use `\notag` or `\nonumber` to prevent individual equations from being numbered.
{:.info}

[Documentation](https://tianqi.name/jekyll-TeXt-theme/docs/en/markdown-enhancements#mathjax)

**markdown:**

```tex
Expand Down
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
---
title: TeXt - Media
title: TeXt - Plugins
key: 20170802
tags: TeXt
toc: true
---

With the help of plugins for media, you can easily add **audio**, **video** and **slides** in your posts.
With the help of plugins, you can easily add **audio**, **video** and **slides** in your posts.

<div>{%- include plugins/ted.html id='emily_esfahani_smith_there_s_more_to_life_than_being_happy' -%}</div>

<!--more-->

[Documentation](https://tianqi.name/jekyll-TeXt-theme/docs/en/plugins)

## Audio

### SoundCloud
Expand Down
4 changes: 2 additions & 2 deletions docs/_posts/2017-08-08-additional-styles.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,13 @@
title: TeXt - Additional Styles
key: 20170808
tags: TeXt
toc: true
---

Success!
{:.success}

`success`{:.success} `info`{:.info} `warning`{:.warning} `error`{:.error}


<div class="grid-container">
<div class="grid grid--p-3">
<div class="cell cell--4 cell--md-5 cell--sm-12" markdown="1">
Expand Down Expand Up @@ -41,6 +39,8 @@ Success!

<!--more-->

[Documentation](https://tianqi.name/jekyll-TeXt-theme/docs/en/additional-styles)

## Alert

Success Text.
Expand Down

0 comments on commit 8f275df

Please sign in to comment.