Skip to content

Commit 9ed2e1a

Browse files
committed
Update README.md
1 parent fe5c0e2 commit 9ed2e1a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

packages/compat/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -61,12 +61,12 @@ The script will change the custom element name by adding a `-v1` suffix (via [pa
6161

6262
**What it does**
6363

64-
<p>The script patches the `@ui5/webcomponents-compat` and `@ui5/webcomponents-react-compat` table component and subcomponents components and subcomponents to render with a different custom element name (tag name) compared to the v2 implementation.
65-
This is done internally using `patch-package` to adjust the implementation in the **node_modules**.</p>
64+
<p>The script patches the <code>@ui5/webcomponents-compat</code> and <code>@ui5/webcomponents-react-compat</code> table component and subcomponents components and subcomponents to render with a different custom element name (tag name) compared to the v2 implementation.
65+
This is done internally using <code>patch-package</code> to adjust the implementation in the <b>node_modules</b>.</p>
6666

6767
**How to use**
6868

69-
<p><b>Install</b> the `@ui5/webcomponents-react-cli` and `@ui5/webcomponents-compat` packages:</p>
69+
<p><b>Install</b> the <code>@ui5/webcomponents-react-cli</code> and <code>@ui5/webcomponents-compat</code> packages:</p>
7070

7171
```
7272
// install `@ui5/webcomponents-compat` explicitly
@@ -80,11 +80,11 @@ npm i @ui5/webcomponents-react-cli @ui5/webcomponents-compat
8080
ui5-wcr patch-compat-table
8181
```
8282

83-
<p>The `ui5-wcr` executable is provided by the `@ui5/webcomponents-react-cli` package. The `patch-compat-table` command applies the necessary patches.</p>
83+
<p>The <code>ui5-wcr</code> executable is provided by the <code>@ui5/webcomponents-react-cli</code> package. The <code>patch-compat-table</code> command applies the necessary patches.</p>
8484

8585
<p><b>Recommendation:</b></p>
8686

87-
<p>Add the script as `postinstall` script in the `package.json`, so it runs after every module update.</p>
87+
<p>Add the script as <code>postinstall</code> script in the <code>package.json</code>, so it runs after every module update.</p>
8888

8989
```
9090
{

0 commit comments

Comments
 (0)