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
{{ message }}
This repository was archived by the owner on Sep 15, 2025. It is now read-only.
See the [`classnames()`](./html_tstring/classnames_test.py) helper function for more information on how class names are combined.
110
+
See the [`classnames()`](https://github.com/t-strings/html-tstring/blob/main/html_tstring/classnames_test.py) helper function for more information on how class names are combined.
You can create reusable component functions that generate templates with dynamic content and attributes. Use these like custom HTML elements in your templates.
@@ -287,12 +285,26 @@ result = html(t'<{Link} href="https://example.com" text="Example" target="_blank
In addition to returning a `Template` directly, component functions may also return any `Node` type found in [`html_tstring.nodes`](./html_tstring/nodes.py). This allows you to build more complex components that manipulate the HTML structure programmatically.
288
+
In addition to returning a `Template` directly, component functions may also return any `Node` type found in [`html_tstring.nodes`](https://github.com/t-strings/html-tstring/blob/main/html_tstring/nodes.py). This allows you to build more complex components that manipulate the HTML structure programmatically.
0 commit comments