Skip to content

Commit 239a3ac

Browse files
committed
Minor update to README
1 parent b83a8e4 commit 239a3ac

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -252,6 +252,8 @@ A powerful API that allows you to customize everything when rendering a specific
252252

253253
To use this API, set the key as the tag of the HTML element you wish to provide a custom implementation for, and create a function with the above parameters that returns a `Widget` or `InlineSpan`.
254254

255+
Note: If you add any custom tags, you must add these tags to the [`tagsList`](#tagslist) parameter, otherwise they will not be rendered. See below for an example.
256+
255257
#### Example Usages - customRender:
256258
1. Simple example - rendering custom HTML tags
257259

@@ -276,6 +278,7 @@ Widget html = Html(
276278
);
277279
},
278280
},
281+
tagsList: Html.tags..addAll(["bird", "flutter"]),
279282
);
280283
```
281284

0 commit comments

Comments
 (0)