1
0
mirror of synced 2026-01-28 00:02:29 -05:00

Merge pull request #13981 from github/repo-sync

repo sync
This commit is contained in:
Octomerger Bot
2022-01-12 11:08:40 -06:00
committed by GitHub
3 changed files with 1 additions and 6 deletions

View File

@@ -156,8 +156,6 @@ These instructions are pertinent to VS Code users.
{% endvscode %}
```
Unlike [operating system tags](#operating-system-tags), which will automatically add tabs to select the operating system at the top of the article, you must add `{% include tool-switcher %}` wherever you want to display tabs to select the tool. This allows you to display the tabs at the top of the article or immediately before a relevant section.
You can define a default tool in the frontmatter. For more information, see the [content README](../content/README.md#defaulttool).
## Reusable and variable strings of text

View File

@@ -1 +0,0 @@
<span class="tool-switcher"></span>

View File

@@ -14,12 +14,10 @@ Intro text
generic text
{% include tool-switcher %}
{% webui %} dotcom text {% endwebui %}
{% cli %} cli text {% endcli %}
{% desktop %} desktop text {% enddesktop %}
{% include tool-switcher %}
{% webui %} dotcom text 2 {% endwebui %}
{% cli %} cli text 2 {% endcli %}
{% desktop %} desktop text 2 {% enddesktop %}
{% desktop %} desktop text 2 {% enddesktop %}