HTML Code Generator
-
Passed the generated output JSON file to convert it into a HTML string using
yattag
(yattag
is a python library to generate HTML in a pythonic way) -
Maintained a mapping to convert extracted elements name into valid html tags.
-
Used
yattag
to create tags based on theelement
for every component. Usedposition:fixed
style in every tag for absolute positioning of the elements on the screen. -
Added style attribute for every component using the
properties
.