From 6d8c1e14fbebb0b97ffe656fd7f492be6472cd26 Mon Sep 17 00:00:00 2001 From: Jie Shen Date: Mon, 17 Feb 2020 13:11:28 +0800 Subject: [PATCH] Remove extra note in note shortcode (#19131) * Remove extra note in note shortcode * Translate Inline Markdown and HTML section --- .../contribute/style/hugo-shortcodes/index.md | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/content/zh/docs/contribute/style/hugo-shortcodes/index.md b/content/zh/docs/contribute/style/hugo-shortcodes/index.md index b9523c7217..b3d06b93be 100644 --- a/content/zh/docs/contribute/style/hugo-shortcodes/index.md +++ b/content/zh/docs/contribute/style/hugo-shortcodes/index.md @@ -201,18 +201,19 @@ println "This is tab 2." {{< /tab >}} {{< /tabs >}} -### Tabs demo: Inline Markdown and HTML + +### 标签页演示:内联 Markdown 和 HTML ```go-html-template {{}} {{% tab name="Markdown" %}} -This is **some markdown.** -{{< note >}}**Note:** It can even contain shortcodes.{{< /note >}} +这是 **一些 markdown 。** +{{< note >}}它甚至可以包含短代码。{{< /note >}} {{% /tab %}} {{< tab name="HTML" >}}
-

Plain HTML

-

This is some plain HTML.

+

纯 HTML

+

这是一些 HTML 。

{{< /tab >}} {{< /tabs */>}} @@ -223,13 +224,13 @@ This is **some markdown.** {{< tabs name="tab_with_md" >}} {{% tab name="Markdown" %}} -This is **some markdown.** -{{< note >}}**Note:** It can even contain shortcodes.{{< /note >}} +这是 **一些 markdown 。** +{{< note >}}它甚至可以包含短代码。{{< /note >}} {{% /tab %}} {{< tab name="HTML" >}}
-

Plain HTML

-

This is some plain HTML.

+

纯 HTML

+

这是一些 HTML 。

{{< /tab >}} {{< /tabs >}}