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()HTML tag-annotated source code.
Attributes
The source code associated with the block.
- block: OutputBlock