From 371fbecfc2ad8c74017fd3791266bb58b6f7c703 Mon Sep 17 00:00:00 2001 From: "qingwei.li" Date: Sun, 11 Feb 2018 20:50:48 +0800 Subject: [PATCH] chore: update helpers --- docs/de-de/helpers.md | 36 +++++++++++++++++------------------- docs/helpers.md | 38 ++++++++++++++++++-------------------- docs/zh-cn/helpers.md | 40 +++++++++++++++++----------------------- 3 files changed, 52 insertions(+), 62 deletions(-) diff --git a/docs/de-de/helpers.md b/docs/de-de/helpers.md index dd80804..570c74c 100644 --- a/docs/de-de/helpers.md +++ b/docs/de-de/helpers.md @@ -19,12 +19,12 @@ wird wie folgt gerendert: Generelle Tipps wie: ```markdown -?> *TODO* unit test +?> _TODO_ unit test ``` wird wie folgt gerendert: -?> *TODO* unit test +?> _TODO_ unit test ## Ignore to compile link @@ -34,18 +34,18 @@ Some time we will put some other relative path to the link, you have to need to [link](/demo/) ``` - It will be compiled to `link` and will be loaded `/demo/README.md`. Maybe you want to jump to `/demo/index.html`. Now you can do that ```md -[link](/demo/ ":ignore") +[link](/demo/ ':ignore') ``` + You will get `link`html. Do not worry, you can still set title for link. ```md -[link](/demo/ ":ignore title") +[link](/demo/ ':ignore title') link ``` @@ -53,26 +53,24 @@ You will get `link`html. Do not worry, you can still set ti ## Set target attribute for link ```md -[link](/demo ":target=_blank") -[link](/demo2 ":target=_self") +[link](/demo ':target=_blank') +[link](/demo2 ':target=_self') ``` - ## Github Task Lists ```md - * [ ] foo - * bar - * [x] baz - * [] bam - * [ ] bim - * [ ] lim +* bar +* [x] baz +* [] bam <~ not working + * [ ] bim + * [ ] lim ``` * [ ] foo - * bar - * [x] baz - * [] bam - * [ ] bim - * [ ] lim +* bar +* [x] baz +* [] bam <~ not working + * [ ] bim + * [ ] lim diff --git a/docs/helpers.md b/docs/helpers.md index 9d87cb2..59a299c 100644 --- a/docs/helpers.md +++ b/docs/helpers.md @@ -19,12 +19,12 @@ is rendered as: General tips like: ```markdown -?> *TODO* unit test +?> _TODO_ unit test ``` are rendered as: -?> *TODO* unit test +?> _TODO_ unit test ## Ignore to compile link @@ -34,18 +34,18 @@ Some time we will put some other relative path to the link, you have to need to [link](/demo/) ``` - It will be compiled to `link` and will be loaded `/demo/README.md`. Maybe you want to jump to `/demo/index.html`. Now you can do that ```md -[link](/demo/ ":ignore") +[link](/demo/ ':ignore') ``` + You will get `link`html. Do not worry, you can still set title for link. ```md -[link](/demo/ ":ignore title") +[link](/demo/ ':ignore title') link ``` @@ -53,32 +53,30 @@ You will get `link`html. Do not worry, you can still set ti ## Set target attribute for link ```md -[link](/demo ":target=_blank") -[link](/demo2 ":target=_self") +[link](/demo ':target=_blank') +[link](/demo2 ':target=_self') ``` ## Disable link ```md -[link](/demo ":disabled") +[link](/demo ':disabled') ``` ## Github Task Lists ```md - * [ ] foo - * bar - * [x] baz - * [] bam - * [ ] bim - * [ ] lim +* bar +* [x] baz +* [] bam <~ not working + * [ ] bim + * [ ] lim ``` * [ ] foo - * bar - * [x] baz - * [ ] bam - * [ ] bim - * [ ] lim - +* bar +* [x] baz +* [] bam <~ not working + * [ ] bim + * [ ] lim diff --git a/docs/zh-cn/helpers.md b/docs/zh-cn/helpers.md index f630f54..f29f0fc 100644 --- a/docs/zh-cn/helpers.md +++ b/docs/zh-cn/helpers.md @@ -2,7 +2,6 @@ docsify 扩展了一些 Markdown 语法,可以让文档更易读。 - ## 强调内容 适合显示重要的提示信息,语法为 `!> 内容`。 @@ -13,17 +12,15 @@ docsify 扩展了一些 Markdown 语法,可以让文档更易读。 !> 一段重要的内容,可以和其他 **Markdown** 语法混用。 - ## 普通提示 普通的提示信息,比如写 TODO 或者参考内容等。 ```markdown -?> *TODO* 完善示例 +?> _TODO_ 完善示例 ``` -?> *TODO* 完善示例 - +?> _TODO_ 完善示例 ## 忽略编译链接 @@ -33,46 +30,43 @@ docsify 扩展了一些 Markdown 语法,可以让文档更易读。 [link](/demo/) ``` - 它将被编译为 `link` 并将加载 `/demo/README.md`. 可能你想跳转到 `/demo/index.html`。 现在你可以做到这一点 ```md -[link](/demo/ ":ignore") +[link](/demo/ ':ignore') ``` + 即将会得到 `link` html 代码。不要担心,你仍然可以为链接设置标题。 ```md -[link](/demo/ ":ignore title") +[link](/demo/ ':ignore title') link ``` - ## 设置链接的 target 属性 ```md -[link](/demo ":target=_blank") -[link](/demo2 ":target=_self") +[link](/demo ':target=_blank') +[link](/demo2 ':target=_self') ``` - ## Github 任务列表 ```md - * [ ] foo - * bar - * [x] baz - * [] bam - * [ ] bim - * [ ] lim +* bar +* [x] baz +* [] bam <~ not working + * [ ] bim + * [ ] lim ``` * [ ] foo - * bar - * [x] baz - * [] bam - * [ ] bim - * [ ] lim +* bar +* [x] baz +* [] bam <~ not working + * [ ] bim + * [ ] lim