htmlgeng

Description


License
MIT
Install
pip install htmlgeng==0.1.2

Documentation

htmlgen

As easy as

from htmlit import HtmlGenerator

gen = HtmlGenerator()

with gen.row as r:
    r(0).markdown("# Hello\n- List 1\n- *List 2*")
    r(0).latex(rf"\sum_i^n {__file__[10]}\left(i\right) = \mathbf(E)")
    r(0).markdown("That was an equation, like this one: $$x^2$$")
    r(1).image(rsc.img)

Install

pip install htmlit
pip install -e <path-to-repo>/htmlgen
pip install git+ssh://git@github.com/GaetanDesrues/htmlgen.git