Skip to content

Commit 5e26d5f

Browse files
[all hosts] Use kbd for keys and keyboard combinations (#960)
1 parent bd237bf commit 5e26d5f

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

samples/excel/42-range/range-get-range-edge.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -189,15 +189,15 @@ template:
189189
<span class="ms-Button-label">Select multiple cells</span>
190190
</button>
191191
<br>
192-
<p>The first type of range edge selection selects the cell at the furthest edge of the current used range, in the directions up or left. This action matches the result of using the Ctrl+Arrow key keyboard shortcut while a range is selected.</p>
192+
<p>The first type of range edge selection selects the cell at the furthest edge of the current used range, in the directions up or left. This action matches the result of using the <kbd>Ctrl</kbd>+<kbd>Arrow key</kbd> keyboard shortcut while a range is selected.</p>
193193
<button id="get-range-edge-left" class="ms-Button">
194194
<span class="ms-Button-label">Go to left edge of used range</span>
195195
</button>
196196
<button id="get-range-edge-up" class="ms-Button">
197197
<span class="ms-Button-label">Go to top edge of used range</span>
198198
</button>
199199
<br>
200-
<p>The second type of range edge selection selects all the cells from the currently selected range to the furthest edge of the used range, in the directions right or down. This action matches the result of using the Ctrl+Shift+Arrow key keyboard shortcut while a range is selected.</p>
200+
<p>The second type of range edge selection selects all the cells from the currently selected range to the furthest edge of the used range, in the directions right or down. This action matches the result of using the <kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>Arrow key</kbd> keyboard shortcut while a range is selected.</p>
201201
<button id="get-extended-range-right" class="ms-Button">
202202
<span class="ms-Button-label">Extend range to right edge of used range</span>
203203
</button>

samples/outlook/90-other-item-apis/get-message-properties.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ template:
4949
<h3>Try it out</h3>
5050
<ol>
5151
<li><p>Turn on the Reading Pane in Outlook. For guidance, see <a href="https://support.microsoft.com/office/2fd687ed-7fc4-4ae3-8eab-9f9b8c6d53f0" target="_blank">Use and configure the Reading Pane to preview messages</a>.</p></li>
52-
<li><p>Hold <b>Ctrl</b> (Windows) or <b>Command</b> (Mac) while selecting multiple messages from your mailbox. You can select a maximum of 100 messages at a time.</p></li>
52+
<li><p>Hold <kbd>Ctrl</kbd> (Windows) or <kbd>Cmd</kbd> (Mac) while selecting multiple messages from your mailbox. You can select a maximum of 100 messages at a time.</p></li>
5353
</ol>
5454
<p>The properties of the selected messages are automatically logged to the console.</p>
5555
<p>To learn more about the item multi-select feature, see <a href="https://learn.microsoft.com/office/dev/add-ins/outlook/item-multi-select" target="_blank">Activate your Outlook add-in on multiple messages</a>.</p>

samples/powerpoint/slide-management/insert-slides.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ template:
9393
<button id="insert-after-target-slide" class="ms-Button">
9494
<span class="ms-Button-label">Insert after selected slide</span>
9595
</button>
96-
<p><b>To undo an insertion, click anywhere on the presentation and press Ctrl-Z.</b></p>
96+
<p><b>To undo an insertion, click anywhere on the presentation and press <kbd>Ctrl</kbd>+<kbd>Z</kbd>.</b></p>
9797
</section>
9898
language: html
9999
style:

0 commit comments

Comments
 (0)