remove tool-switcher (#24242)
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
<span class="tool-switcher"></span>
|
||||
4
tests/fixtures/default-tool.md
vendored
4
tests/fixtures/default-tool.md
vendored
@@ -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 %}
|
||||
|
||||
Reference in New Issue
Block a user