blark.html.HtmlWriter
- class blark.html.HtmlWriter(user: 'Any', source_filename: 'Optional[pathlib.Path]', block: 'OutputBlock')[source]
Bases:
objectMethods
__init__(user, source_filename, block)save(user, source_filename, parts)Convert the source code block to HTML and return it.
to_html()Format source code as HTML
Attributes
- block: OutputBlock