Reconfigures how text segments are rendered to close #28
Only puts a text segment into a new <span> when that segment's styles differ from the text frames base style, except for italic and bold text. Segments with font-weight other than 400 or 700 will generate a new span with appropriate inline styles.
Places italic and bold text in <i> and <b> tags
Applies class to each text element (<p> or <h1>, <h2>, etc.) like .f2h-text-[n] and adds styles for those to the page css, instead of inline styling
Other changes:
remove list stuff and clean up exported html
changes camelCase css to kebab-case (closes #24)
Changes UI export button to say "Files" instead of "images"
Reconfigures how text segments are rendered to close #28
<span>
when that segment's styles differ from the text frames base style, except foritalic
andbold
text. Segments withfont-weight
other than 400 or 700 will generate a newspan
with appropriate inline styles.italic
andbold
text in<i>
and<b>
tags<p>
or<h1>
,<h2>
, etc.) like.f2h-text-[n]
and adds styles for those to the page css, instead of inline stylingOther changes: