mirror of
https://github.com/nunocoracao/blowfish.git
synced 2026-01-30 16:31:52 +01:00
feat: add tabs
This commit is contained in:
@@ -714,6 +714,86 @@ You can see some additional Mermaid examples on the [diagrams and flowcharts sam
|
||||
|
||||
<br/><br/><br/>
|
||||
|
||||
## Tabs
|
||||
|
||||
The `tabs` shortcode is commonly used to present different variants of a particular step. For example, it can be used to show how to install VS Code on different platforms.
|
||||
|
||||
**Example**
|
||||
|
||||
`````md
|
||||
{{</* tabs labels="Windows;;macOS;;Linux" */>}}
|
||||
|
||||
{{</* tab */>}}
|
||||
|
||||
Install using Chocolatey:
|
||||
|
||||
```pwsh
|
||||
choco install vscode.install
|
||||
```
|
||||
|
||||
or install using WinGet
|
||||
|
||||
```pwsh
|
||||
winget install -e --id Microsoft.VisualStudioCode
|
||||
```
|
||||
|
||||
{{</* /tab */>}}
|
||||
|
||||
{{</* tab */>}}
|
||||
|
||||
```bash
|
||||
brew install --cask visual-studio-code
|
||||
```
|
||||
|
||||
{{</* /tab */>}}
|
||||
|
||||
{{</* tab */>}}
|
||||
|
||||
See [documentation](https://code.visualstudio.com/docs/setup/linux#_install-vs-code-on-linux).
|
||||
|
||||
{{</* /tab */>}}
|
||||
|
||||
{{</* /tabs */>}}
|
||||
`````
|
||||
|
||||
**Output**
|
||||
|
||||
{{< tabs labels="Windows;;macOS;;Linux" >}}
|
||||
|
||||
{{< tab >}}
|
||||
|
||||
Install using Chocolatey:
|
||||
|
||||
```pwsh
|
||||
choco install vscode.install
|
||||
```
|
||||
|
||||
or install using WinGet
|
||||
|
||||
```pwsh
|
||||
winget install -e --id Microsoft.VisualStudioCode
|
||||
```
|
||||
|
||||
{{< /tab >}}
|
||||
|
||||
{{< tab >}}
|
||||
|
||||
```bash
|
||||
brew install --cask visual-studio-code
|
||||
```
|
||||
|
||||
{{< /tab >}}
|
||||
|
||||
{{< tab >}}
|
||||
|
||||
See [documentation](https://code.visualstudio.com/docs/setup/linux#_install-vs-code-on-linux).
|
||||
|
||||
{{< /tab >}}
|
||||
|
||||
{{< /tabs >}}
|
||||
|
||||
<br/><br/><br/>
|
||||
|
||||
## Timeline
|
||||
|
||||
The `timeline` creates a visual timeline that can be used in different use-cases, e.g. professional experience, a project's achievements, etc. The `timeline` shortcode relies on the `timelineItem` sub-shortcode to define each item within the main timeline. Each item can have the following properties.
|
||||
|
||||
@@ -711,6 +711,86 @@ B-->C[利益]
|
||||
|
||||
<br/><br/><br/>
|
||||
|
||||
## Tabs
|
||||
|
||||
`tabs` ショートコードは、特定の手順における異なるバリアントを提示する際によく使用される。例えば、VS Code を各種プラットフォームにインストールする方法を示す場合などに利用できる。
|
||||
|
||||
**例**
|
||||
|
||||
````md
|
||||
{{</* tabs labels="Windows;;macOS;;Linux" */>}}
|
||||
|
||||
{{</* tab */>}}
|
||||
|
||||
Chocolatey を使用してインストール:
|
||||
|
||||
```pwsh
|
||||
choco install vscode.install
|
||||
```
|
||||
|
||||
または WinGet を使用してインストール
|
||||
|
||||
```pwsh
|
||||
winget install -e --id Microsoft.VisualStudioCode
|
||||
```
|
||||
|
||||
{{</* /tab */>}}
|
||||
|
||||
{{</* tab */>}}
|
||||
|
||||
```bash
|
||||
brew install --cask visual-studio-code
|
||||
```
|
||||
|
||||
{{</* /tab */>}}
|
||||
|
||||
{{</* tab */>}}
|
||||
|
||||
[ドキュメント](https://code.visualstudio.com/docs/setup/linux#_install-vs-code-on-linux)を参照。
|
||||
|
||||
{{</* /tab */>}}
|
||||
|
||||
{{</* /tabs */>}}
|
||||
````
|
||||
|
||||
**出力**
|
||||
|
||||
{{< tabs labels="Windows;;macOS;;Linux" >}}
|
||||
|
||||
{{< tab >}}
|
||||
|
||||
Chocolatey を使用してインストール:
|
||||
|
||||
```pwsh
|
||||
choco install vscode.install
|
||||
```
|
||||
|
||||
または WinGet を使用してインストール
|
||||
|
||||
```pwsh
|
||||
winget install -e --id Microsoft.VisualStudioCode
|
||||
```
|
||||
|
||||
{{< /tab >}}
|
||||
|
||||
{{< tab >}}
|
||||
|
||||
```bash
|
||||
brew install --cask visual-studio-code
|
||||
```
|
||||
|
||||
{{< /tab >}}
|
||||
|
||||
{{< tab >}}
|
||||
|
||||
[ドキュメント](https://code.visualstudio.com/docs/setup/linux#_install-vs-code-on-linux)を参照。
|
||||
|
||||
{{< /tab >}}
|
||||
|
||||
{{< /tabs >}}
|
||||
|
||||
<br/><br/><br/>
|
||||
|
||||
## タイムライン
|
||||
|
||||
`timeline` は、さまざまなユースケース (例: 職務経歴、プロジェクトの成果など) で使用できる視覚的なタイムラインを作成します。`timeline` ショートコードは、メインタイムライン内の各アイテムを定義するために `timelineItem` サブショートコードに依存しています。各アイテムには、次のプロパティを設定できます。
|
||||
|
||||
@@ -720,6 +720,86 @@ You can see some additional Mermaid examples on the [diagrams and flowcharts sam
|
||||
|
||||
<br/><br/><br/>
|
||||
|
||||
## Tabs
|
||||
|
||||
The `tabs` shortcode is commonly used to present different variants of a particular step. For example, it can be used to show how to install VS Code on different platforms.
|
||||
|
||||
**Example**
|
||||
|
||||
`````md
|
||||
{{</* tabs labels="Windows;;macOS;;Linux" */>}}
|
||||
|
||||
{{</* tab */>}}
|
||||
|
||||
Install using Chocolatey:
|
||||
|
||||
```pwsh
|
||||
choco install vscode.install
|
||||
```
|
||||
|
||||
or install using WinGet
|
||||
|
||||
```pwsh
|
||||
winget install -e --id Microsoft.VisualStudioCode
|
||||
```
|
||||
|
||||
{{</* /tab */>}}
|
||||
|
||||
{{</* tab */>}}
|
||||
|
||||
```bash
|
||||
brew install --cask visual-studio-code
|
||||
```
|
||||
|
||||
{{</* /tab */>}}
|
||||
|
||||
{{</* tab */>}}
|
||||
|
||||
See [documentation](https://code.visualstudio.com/docs/setup/linux#_install-vs-code-on-linux).
|
||||
|
||||
{{</* /tab */>}}
|
||||
|
||||
{{</* /tabs */>}}
|
||||
`````
|
||||
|
||||
**Output**
|
||||
|
||||
{{< tabs labels="Windows;;macOS;;Linux" >}}
|
||||
|
||||
{{< tab >}}
|
||||
|
||||
Install using Chocolatey:
|
||||
|
||||
```pwsh
|
||||
choco install vscode.install
|
||||
```
|
||||
|
||||
or install using WinGet
|
||||
|
||||
```pwsh
|
||||
winget install -e --id Microsoft.VisualStudioCode
|
||||
```
|
||||
|
||||
{{< /tab >}}
|
||||
|
||||
{{< tab >}}
|
||||
|
||||
```bash
|
||||
brew install --cask visual-studio-code
|
||||
```
|
||||
|
||||
{{< /tab >}}
|
||||
|
||||
{{< tab >}}
|
||||
|
||||
See [documentation](https://code.visualstudio.com/docs/setup/linux#_install-vs-code-on-linux).
|
||||
|
||||
{{< /tab >}}
|
||||
|
||||
{{< /tabs >}}
|
||||
|
||||
<br/><br/><br/>
|
||||
|
||||
## Timeline
|
||||
|
||||
The `timeline` creates a visual timeline that can be used in different use-cases, e.g. professional experience, a project's achievements, etc. The `timeline` shortcode relies on the `timelineItem` sub-shortcode to define each item within the main timeline. Each item can have the following properties.
|
||||
|
||||
@@ -724,6 +724,86 @@ B-->C[Profit]
|
||||
|
||||
<br/><br/><br/>
|
||||
|
||||
## Tabs
|
||||
|
||||
`tabs` 简码常用于呈现某个步骤的不同变体。例如,可用于展示在不同平台上安装 VS Code 的方式。
|
||||
|
||||
**示例**
|
||||
|
||||
````md
|
||||
{{</* tabs labels="Windows;;macOS;;Linux" */>}}
|
||||
|
||||
{{</* tab */>}}
|
||||
|
||||
使用 Chocolatey 安装:
|
||||
|
||||
```pwsh
|
||||
choco install vscode.install
|
||||
```
|
||||
|
||||
或使用 WinGet 安装
|
||||
|
||||
```pwsh
|
||||
winget install -e --id Microsoft.VisualStudioCode
|
||||
```
|
||||
|
||||
{{</* /tab */>}}
|
||||
|
||||
{{</* tab */>}}
|
||||
|
||||
```bash
|
||||
brew install --cask visual-studio-code
|
||||
```
|
||||
|
||||
{{</* /tab */>}}
|
||||
|
||||
{{</* tab */>}}
|
||||
|
||||
参见[文档](https://code.visualstudio.com/docs/setup/linux#_install-vs-code-on-linux)。
|
||||
|
||||
{{</* /tab */>}}
|
||||
|
||||
{{</* /tabs */>}}
|
||||
````
|
||||
|
||||
**输出**
|
||||
|
||||
{{< tabs labels="Windows;;macOS;;Linux" >}}
|
||||
|
||||
{{< tab >}}
|
||||
|
||||
使用 Chocolatey 安装:
|
||||
|
||||
```pwsh
|
||||
choco install vscode.install
|
||||
```
|
||||
|
||||
或使用 WinGet 安装
|
||||
|
||||
```pwsh
|
||||
winget install -e --id Microsoft.VisualStudioCode
|
||||
```
|
||||
|
||||
{{< /tab >}}
|
||||
|
||||
{{< tab >}}
|
||||
|
||||
```bash
|
||||
brew install --cask visual-studio-code
|
||||
```
|
||||
|
||||
{{< /tab >}}
|
||||
|
||||
{{< tab >}}
|
||||
|
||||
参见[文档](https://code.visualstudio.com/docs/setup/linux#_install-vs-code-on-linux)。
|
||||
|
||||
{{< /tab >}}
|
||||
|
||||
{{< /tabs >}}
|
||||
|
||||
<br/><br/><br/>
|
||||
|
||||
## 时间线
|
||||
|
||||
`timeline` 创建了一个可视化时间线,用于展示专业经验、项目成就等。 `timeline` 简码依赖于 `timelineItem` 子简码来定义主时间线中的每个项目。每个项目可以具有以下属性。
|
||||
|
||||
Reference in New Issue
Block a user