Skip to content

Commit ff9e53a

Browse files
authored
Merge pull request #680 from tneotia/bugfix/readme
Fix README cutoff underneath a dropdown & update README
2 parents 5de96d7 + 239a3ac commit ff9e53a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.md

Lines changed: 5 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

@@ -304,6 +307,8 @@ Widget html = Html(
304307
);
305308
```
306309

310+
</details>
311+
307312
3. Complex example - rendering an `iframe` differently based on whether it is an embedded youtube video or some other embedded content.
308313

309314
<details><summary>View code</summary>

0 commit comments

Comments
 (0)