Skip to content

Commit

Permalink
Wordsmithing (#3462)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikefrobbins authored Feb 3, 2025
1 parent d279976 commit 7d75f77
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs-conceptual/azps-13.1.0/azps-docs-style-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,20 +111,20 @@ Use `Get-Random` to add a random number to a name, for example:
$newAcrName = "myacr-$(Get-Random)"
```

## Interactive code snippets (Try It)
## Interactive code snippets

### When to use Try It
### When to use interactive code snippets

If Cloud Shell supports _every_ Azure PowerShell command in your article, tag your code blocks with
`azurepowershell-interactive` to add the _Try It_ button to the snippets:
`azurepowershell-interactive` to add the _Open Cloud Shell_ button to the snippets:

````
```azurepowershell-interactive
Get-AzResourceGroup | Select-Object -Property ResourceGroupName, Location
```
````

### When NOT to use Try It
### When NOT to use interactive code snippets

Don't use `azurepowershell-interactive` if your article includes _any_ Azure PowerShell commands
that don't work in Cloud Shell. Use `azurepowershell` only. For example, the `Install-AzAksCliTool`
Expand Down

0 comments on commit 7d75f77

Please sign in to comment.