Skip to content

Commit b96551c

Browse files
authored
chore: Minor docs update
1 parent a7625fd commit b96551c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
### Introduction
2323

2424
<p align="center">
25-
<img height="400px" src="https://github.com/user-attachments/assets/dab87ea2-58be-424c-b1ef-6071786cb504" />
25+
<img height="400px" src="https://github.com/user-attachments/assets/1de55c27-e135-4d7a-90a9-75e573e2c34e" />
2626
</p>
2727

2828
**Html Renderer** is a plugin that adds support for rendering html in chat bubbles within the [**React ChatBotify Core Library**](https://react-chatbotify.com). By default, the core library does not ship with html support. This plugin relies on chatbot events to intercept messages and determine if html rendering logic has to be applied. The demo gif above should give you a pretty good idea of what this plugin is capable of doing.
@@ -63,7 +63,7 @@ The plugin is incredibly straightforward to use and is [**available on npm**](ht
6363
const MyComponent = () => {
6464
const flow = {
6565
start: {
66-
message: "### What is your age?",
66+
message: "<h4>What is your age?</h4>",
6767
renderHtml: ["BOT", "USER"]
6868
} as HtmlRendererBlock
6969
}
@@ -123,7 +123,7 @@ import HtmlRenderer from "@rcb-plugins/html-renderer";
123123
const MyComponent = () => {
124124
const flow = {
125125
start: {
126-
message: "What is your age?",
126+
message: "<h4>What is your age?</h4>",
127127
renderHtml: ["USER", "BOT"],
128128
},
129129
// ... other blocks

0 commit comments

Comments
 (0)