Skip to content

Commit ed6e80b

Browse files
authored
remove tool-switcher (#24242)
1 parent 05a3738 commit ed6e80b

File tree

3 files changed

+1
-6
lines changed

3 files changed

+1
-6
lines changed

contributing/content-markup-reference.md

-2
Original file line numberDiff line numberDiff line change
@@ -156,8 +156,6 @@ These instructions are pertinent to VS Code users.
156156
{% endvscode %}
157157
```
158158

159-
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.
160-
161159
You can define a default tool in the frontmatter. For more information, see the [content README](../content/README.md#defaulttool).
162160

163161
## Reusable and variable strings of text

includes/tool-switcher.html

-1
This file was deleted.

tests/fixtures/default-tool.md

+1-3
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,10 @@ Intro text
1414

1515
generic text
1616

17-
{% include tool-switcher %}
1817
{% webui %} dotcom text {% endwebui %}
1918
{% cli %} cli text {% endcli %}
2019
{% desktop %} desktop text {% enddesktop %}
2120

22-
{% include tool-switcher %}
2321
{% webui %} dotcom text 2 {% endwebui %}
2422
{% cli %} cli text 2 {% endcli %}
25-
{% desktop %} desktop text 2 {% enddesktop %}
23+
{% desktop %} desktop text 2 {% enddesktop %}

0 commit comments

Comments
 (0)