functui.io.html
Functions to convert layouts to html.
-
class functui.io.html.HTMLTags(open, closed)[source]
-
closed: str
Alias for field number 1
-
open: str
Alias for field number 0
-
functui.io.html.layout_to_html_str(layout: Layout, dimensions: Rect)[source]
Convert a layout to an html string.
A shorthand for result_to_html_str(layout_to_result(...)).
- Returns:
Html representations of the result wrapped in a <pre> tag.
-
functui.io.html.result_to_html_str(result: Result)[source]
Convert a result to an html string.
- Returns:
Html representations of the result wrapped in a <pre> tag.