1
0
mirror of synced 2025-12-19 18:10:59 -05:00

remove tool-switcher (#24242)

This commit is contained in:
Peter Bengtsson
2022-01-12 11:32:30 -05:00
committed by GitHub
parent 05a3738f7a
commit ed6e80bd20
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 %}