Skip to content

Commit 555d36e

Browse files
committed
docs: 📝 Readme update
1 parent 740128d commit 555d36e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Use the following command to install Contentstack JavaScript Utils SDK:
2222
npm i @contentstack/utils
2323
```
2424
## Usage
25-
Let’s learn how you can use Utils SDK to render embedded items.
25+
Let’s learn how you can use Utils SDK to render RTE embedded items and Supercharged RTE Json to HTML.
2626

2727
### Create Render Option
2828
To render embedded items on the front-end, use the renderOptions function, and define the UI elements you want to show in the front-end of your website, as shown in the example below:
@@ -35,7 +35,7 @@ const renderOptions = {
3535
h1: (node, next) => {
3636
`<h1 class='class-id'>${next(node.children)}</h1>` // you will need to call next function with node children contents
3737
}
38-
// to render Supercharged RTE MarkType content like bold, italic, underline, strickthrough, inlineCode, subscript, and superscript
38+
// to render Supercharged RTE MarkType content like bold, italic, underline, strikethrough, inlineCode, subscript, and superscript
3939
bold: (text) => {
4040
`<b>${next(node.children)}</b>`
4141
}

0 commit comments

Comments
 (0)