Skip to content

Commit c9611c2

Browse files
committed
Extra edits
1 parent 033d108 commit c9611c2

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

articles/ai-services/immersive-reader/how-to-customize-launch-button.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,19 @@ ms.author: sharmas
1414

1515
# How to customize the Immersive Reader button
1616

17-
This article demonstrates how to customize the button that launches the Immersive Reader to fit the needs of your application.
17+
This article demonstrates how to customize the button that launches the Immersive Reader, to fit the needs of your application.
1818

1919
## Add the Immersive Reader button
2020

21-
The Immersive Reader SDK provides default styling for the button that launches the Immersive Reader. Use the `immersive-reader-button` class attribute to enable this styling.
21+
The [Immersive Reader SDK](https://github.com/microsoft/immersive-reader-sdk) provides default styling for the button that launches the Immersive Reader. To enable this styling, use the `immersive-reader-button` class attribute.
2222

2323
```html
2424
<div class='immersive-reader-button'></div>
2525
```
2626

2727
## Customize the button style
2828

29-
Use the `data-button-style` attribute to set the style of the button. The allowed values are `icon`, `text`, and `iconAndText`. The default value is `icon`.
29+
To set the style of the button, use the `data-button-style` attribute. The allowed values are `icon`, `text`, and `iconAndText`. The default value is `icon`.
3030

3131
### Icon button
3232

@@ -60,15 +60,15 @@ Use the following code to render both the button and the text.
6060

6161
## Customize the button text
6262

63-
Configure the language and the alt text for the button using the `data-locale` attribute. The default language is English.
63+
To configure the language and the alt text for the button, use the `data-locale` attribute. The default language is English.
6464

6565
```html
6666
<div class='immersive-reader-button' data-locale='fr-FR'></div>
6767
```
6868

6969
## Customize the size of the icon
7070

71-
The size of the Immersive Reader icon can be configured using the `data-icon-px-size` attribute. This sets the size of the icon in pixels. The default size is 20 px.
71+
To configure the size of the Immersive Reader icon, use the `data-icon-px-size` attribute. This sets the size of the icon in pixels. The default size is 20 px.
7272

7373
```html
7474
<div class='immersive-reader-button' data-icon-px-size='50'></div>

articles/ai-services/immersive-reader/how-to-prepare-html.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ ms.author: sharmas
1313

1414
# How to prepare HTML content for Immersive Reader
1515

16-
This article shows you how to structure your HTML and retrieve the content, so that Immersive Reader can use it.
16+
This article shows you how to structure your HTML and retrieve the content, so that your Immersive Reader application can use it.
1717

1818
## Prepare the HTML content
1919

articles/ai-services/immersive-reader/how-to-store-user-preferences.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ ImmersiveReader.launchAsync(YOUR_TOKEN, YOUR_SUBDOMAIN, YOUR_DATA, options);
4040

4141
## Load user preferences
4242

43-
Pass in the user's preferences to the Immersive Reader app using the `-preferences` option. A trivial example to store and load the user's preferences is as follows:
43+
Pass in the user's preferences to the Immersive Reader app by using the `-preferences` option. A trivial example to store and load the user's preferences is as follows:
4444

4545
```typescript
4646
const storedUserPreferences = localStorage.getItem("USER_PREFERENCES");

0 commit comments

Comments
 (0)