Skip to content

Commit 3c93c0a

Browse files
[all hosts] Minor cleanup (#5272)
1 parent e1a4660 commit 3c93c0a

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

docs/testing/sideload-add-in-with-unified-manifest.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Use the process described in [Sideload with a system prompt, bash shell, or term
2828
- **PowerPoint Desktop (Edge Chromium)**
2929
- **Word Desktop (Edge Chromium)**
3030

31-
1. Press F5. The project builds and a Node dev-server window opens. This process may take a couple of minutes and then the desktop version of the Office application that you selected opens. You can now work with your add-in. For an Outlook add-in, be sure you're working in the **Inbox** of *your Microsoft 365 account identity*.
31+
1. Press <kbd>F5</kbd>. The project builds and a Node dev-server window opens. This process may take a couple of minutes and then the desktop version of the Office application that you selected opens. You can now work with your add-in. For an Outlook add-in, be sure you're working in the **Inbox** of *your Microsoft 365 account identity*.
3232
1. To stop debugging and uninstall the add-in, select **Run** | **Stop Debugging** in Visual Studio Code. Closing the server window doesn't reliably stop the server and closing the Office application doesn't reliably cause Office to unacquire the add-in.
3333

3434
> [!NOTE]

docs/tutorials/word-tutorial.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ In this tutorial, you'll create a Word task pane add-in that:
3737
- **What do you want to name your add-in?** `My Office Add-in`
3838
- **Which Office client application would you like to support?** `Word`
3939

40-
![The previous prompts and answers given to the Yeoman generator in a command line interface.](../images/yo-office-word.png)
40+
:::image type="content" source="../images/yo-office-word.png" alt-text="The previous prompts and answers given to the Yeoman generator in a command line interface.":::
4141

4242
After you complete the wizard, the generator creates the project and installs supporting Node components.
4343

@@ -145,15 +145,15 @@ In this step of the tutorial, you'll programmatically test that your add-in supp
145145

146146
1. In Word, if the "My Office Add-in" task pane isn't already open, choose the **Home** tab, and then choose the **Show Taskpane** button on the ribbon to open the add-in task pane.
147147

148-
![The Show Taskpane button highlighted in Word.](../images/word-quickstart-addin-2b.png)
148+
:::image type="content" source="../images/word-quickstart-addin-2b.png" alt-text="The Show Taskpane button highlighted in Word.":::
149149

150150
1. In the task pane, choose the **Insert Paragraph** button.
151151

152152
1. Make a change in the paragraph.
153153

154154
1. Choose the **Insert Paragraph** button again. Note that the new paragraph appears above the previous one because the `insertParagraph` method is inserting at the start of the document's body.
155155

156-
![The Insert Paragraph button in the add-in.](../images/word-tutorial-insert-paragraph-2.png)
156+
:::image type="content" source="../images/word-tutorial-insert-paragraph-2.png" alt-text="The Insert Paragraph button in the add-in.":::
157157

158158
1. [!include[Instructions to stop web server and uninstall dev add-in](../includes/stop-uninstall-dev-add-in.md)]
159159

@@ -299,7 +299,7 @@ In this step of the tutorial, you'll apply a built-in style to text, apply a cus
299299

300300
1. Choose the **Change Font** button. The font of the second paragraph changes to 18 pt., bold, Courier New.
301301

302-
![The results of applying the styles and fonts defined for the add-in buttons Apply Style, Apply Custom Style, and Change font.](../images/word-tutorial-apply-styles-and-font-2.png)
302+
:::image type="content" source="../images/word-tutorial-apply-styles-and-font-2.png" alt-text="The results of applying the styles and fonts defined for the add-in buttons Apply Style, Apply Custom Style, and Change font.":::
303303

304304
## Replace text and insert text
305305

@@ -539,7 +539,7 @@ async function insertTextIntoRange() {
539539

540540
1. Choose the **Change Quantity Term** button. Note that "many" replaces the selected text.
541541

542-
![The results of choosing the add-in buttons Insert Abbreviation, Add Version Info, and Change Quantity Term.](../images/word-tutorial-text-replace-2.png)
542+
:::image type="content" source="../images/word-tutorial-text-replace-2.png" alt-text="The results of choosing the add-in buttons Insert Abbreviation, Add Version Info, and Change Quantity Term.":::
543543

544544
## Insert images, HTML, and tables
545545

@@ -718,7 +718,7 @@ Complete the following steps to define the image that you'll insert into the doc
718718

719719
1. Choose the **Insert Table** button and note that a table is inserted after the second paragraph.
720720

721-
![The results of choosing the add-in buttons Insert Image, Insert HTML, and Insert Table.](../images/word-tutorial-insert-image-html-table-2.png)
721+
:::image type="content" source="../images/word-tutorial-insert-image-html-table-2.png" alt-text="The results of choosing the add-in buttons Insert Image, Insert HTML, and Insert Table.":::
722722

723723
## Create and update content controls
724724

@@ -835,6 +835,7 @@ In this step of the tutorial, you'll learn how to create Rich Text content contr
835835
1. Choose the **Rename Service** button and note that the text of the content control changes to "Fabrikam Online Productivity Suite".
836836

837837
![The results of choosing the add-in buttons Create Content Control and Rename Service.](../images/word-tutorial-content-control-2.png)
838+
:::image type="content" source="../images/word-tutorial-content-control-2.png" alt-text="The results of choosing the add-in buttons Create Content Control and Rename Service.":::
838839

839840
## Next steps
840841

0 commit comments

Comments
 (0)