Remove extra note in note shortcode (#19131)
* Remove extra note in note shortcode * Translate Inline Markdown and HTML section
This commit is contained in:
@@ -201,18 +201,19 @@ println "This is tab 2."
|
|||||||
{{< /tab >}}
|
{{< /tab >}}
|
||||||
{{< /tabs >}}
|
{{< /tabs >}}
|
||||||
|
|
||||||
### Tabs demo: Inline Markdown and HTML
|
<!-- ### Tabs demo: Inline Markdown and HTML -->
|
||||||
|
### 标签页演示:内联 Markdown 和 HTML
|
||||||
|
|
||||||
```go-html-template
|
```go-html-template
|
||||||
{{</* tabs name="tab_with_md" >}}
|
{{</* tabs name="tab_with_md" >}}
|
||||||
{{% tab name="Markdown" %}}
|
{{% tab name="Markdown" %}}
|
||||||
This is **some markdown.**
|
这是 **一些 markdown 。**
|
||||||
{{< note >}}**Note:** It can even contain shortcodes.{{< /note >}}
|
{{< note >}}它甚至可以包含短代码。{{< /note >}}
|
||||||
{{% /tab %}}
|
{{% /tab %}}
|
||||||
{{< tab name="HTML" >}}
|
{{< tab name="HTML" >}}
|
||||||
<div>
|
<div>
|
||||||
<h3>Plain HTML</h3>
|
<h3>纯 HTML</h3>
|
||||||
<p>This is some <i>plain</i> HTML.</p>
|
<p>这是一些 <i>纯</i> HTML 。</p>
|
||||||
</div>
|
</div>
|
||||||
{{< /tab >}}
|
{{< /tab >}}
|
||||||
{{< /tabs */>}}
|
{{< /tabs */>}}
|
||||||
@@ -223,13 +224,13 @@ This is **some markdown.**
|
|||||||
|
|
||||||
{{< tabs name="tab_with_md" >}}
|
{{< tabs name="tab_with_md" >}}
|
||||||
{{% tab name="Markdown" %}}
|
{{% tab name="Markdown" %}}
|
||||||
This is **some markdown.**
|
这是 **一些 markdown 。**
|
||||||
{{< note >}}**Note:** It can even contain shortcodes.{{< /note >}}
|
{{< note >}}它甚至可以包含短代码。{{< /note >}}
|
||||||
{{% /tab %}}
|
{{% /tab %}}
|
||||||
{{< tab name="HTML" >}}
|
{{< tab name="HTML" >}}
|
||||||
<div>
|
<div>
|
||||||
<h3>Plain HTML</h3>
|
<h3>纯 HTML</h3>
|
||||||
<p>This is some <i>plain</i> HTML.</p>
|
<p>这是一些 <i>纯</i> HTML 。</p>
|
||||||
</div>
|
</div>
|
||||||
{{< /tab >}}
|
{{< /tab >}}
|
||||||
{{< /tabs >}}
|
{{< /tabs >}}
|
||||||
|
|||||||
Reference in New Issue
Block a user