Skip to content

Commit 3ff518d

Browse files
committed
Add code formatting to example URIs
1 parent 60fa199 commit 3ff518d

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

hub/apps/develop/launch/launch-snipping-tool.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -73,31 +73,31 @@ The **enabledModes** parameter can accept the following modes:
7373

7474
### Example 1: Enable Only Rectangle Snip
7575

76-
ms-screenclip://capture/image?rectangle&enabledModes=RectangleSnip&redirect-uri=my-snip-protocol-test-app://response
76+
`ms-screenclip://capture/image?rectangle&enabledModes=RectangleSnip&redirect-uri=my-snip-protocol-test-app://response`
7777

7878
*Explanation: This command launches the Snipping Tool with only the rectangle snipping option enabled. The user will only be able to select a rectangular region for capture.*
7979

8080
### Example 2: Enable Rectangle Snip and Window Snip
8181

82-
ms-screenclip://capture/image?rectangle&enabledModes=RectangleSnip,WindowSnip&redirect-uri=my-snip-protocol-test-app://response
82+
`ms-screenclip://capture/image?rectangle&enabledModes=RectangleSnip,WindowSnip&redirect-uri=my-snip-protocol-test-app://response`
8383

8484
*Explanation: This command launches the Snipping Tool with both the rectangle and window snipping modes enabled. The user can choose between capturing a rectangular area or an entire window.*
8585

8686
### Example 3: Enable All Snipping Modes
8787

88-
ms-screenclip://capture/image?rectangle&enabledModes=SnippingAllModes&redirect-uri=my-snip-protocol-test-app://response
88+
`ms-screenclip://capture/image?rectangle&enabledModes=SnippingAllModes&redirect-uri=my-snip-protocol-test-app://response`
8989

9090
*Explanation: This command launches the Snipping Tool with all supported image snipping modes (RectangleSnip, WindowSnip, FreeformSnip). The FullScreenSnip mode is excluded from interactive mode and will not be enabled.*
9191

9292
### Example 4: Enable Recording Mode Only
9393

94-
ms-screenclip://capture/video?enabledModes=RecordAllModes&redirect-uri=my-snip-protocol-test-app://response
94+
`ms-screenclip://capture/video?enabledModes=RecordAllModes&redirect-uri=my-snip-protocol-test-app://response`
9595

9696
*Explanation: This command launches the Snipping Tool with only the recording mode enabled. The user can only choose the rectangle recording mode.*
9797

9898
### Example 5: Enable Multiple Snipping and Recording Modes
9999

100-
ms-screenclip://capture/image?enabledModes=RectangleSnip,RectangleRecord&redirect-uri=my-snip-protocol-test-app://response
100+
`ms-screenclip://capture/image?enabledModes=RectangleSnip,RectangleRecord&redirect-uri=my-snip-protocol-test-app://response`
101101

102102
*Explanation: This command launches the Snipping Tool with both rectangle snip and rectangle recording modes available. Users can either snip a rectangle or record the selected area.*
103103

@@ -186,8 +186,8 @@ Below is a table displaying examples of full URIs constructed to initiate differ
186186

187187
| Use Case | Example URI | Description |
188188
|------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------|
189-
| Rectangle Mode - Interactive | ms-screenclip://capture/image?user-agent=TestApp&Rectangle&uri=my-snip-protocol-test-app://response | An application initiates an interactive rectangle capture session, where the user selects the capture area. The result is redirected to a specific URI. |
190-
| Video Mode - Interactive | ms-screenclip://capture/video?api-version=1.0&user-agent=TestApp&redirect-uri=my-snip-protocol-test-app://response | A video capture. Always in rectangle mode. |
189+
| Rectangle Mode - Interactive | `ms-screenclip://capture/image?user-agent=TestApp&Rectangle&uri=my-snip-protocol-test-app://response` | An application initiates an interactive rectangle capture session, where the user selects the capture area. The result is redirected to a specific URI. |
190+
| Video Mode - Interactive | `ms-screenclip://capture/video?api-version=1.0&user-agent=TestApp&redirect-uri=my-snip-protocol-test-app://response` | A video capture. Always in rectangle mode. |
191191

192192
## Related content
193193

0 commit comments

Comments
 (0)