You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/plugins/html.md
+7-1Lines changed: 7 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -113,7 +113,7 @@ Keep in mind there's no real way to validate HTML, so the default implementation
113
113
114
114
<br />
115
115
116
-
This plugin re-exports [@kitajs/html](https://github.com/kitajs/html), which is a JSX factory for creating HTML strings from JSX. Please report JSX related issues to that repository.
116
+
This plugin re-exports [@kitajs/html](https://github.com/kitajs/html), which is a JSX factory for creating HTML strings from JSX. **Please report JSX related issues to that repository.**
117
117
118
118
To use JSX, first rename your file extension to either `.tsx` or `.jsx`.
119
119
@@ -158,6 +158,12 @@ and that's it! 🎉
158
158
159
159
You can now use JSX to define your web page and Elysia will turns them to HTML automatically.
160
160
161
+
::: tip
162
+
163
+
Read more about JSX in the [official documentation](https://github.com/kitajs/html) and learn how to add HTMX typings, compiling html, adding more JSX components and so on...
164
+
165
+
:::
166
+
161
167
## Sanitization
162
168
163
169
To keep this section up to date, please refer to the [sanitization](https://github.com/kitajs/html/tree/master#sanitization) section of the `@kitajs/html` repository.
0 commit comments