Content

class reportree.Content(content: str | Doc, title: str = None, body_only: bool = True)

Bases: IRTree

Content is a leaf node that contains an arbitrary HTML code.

save(path: str, writer: ~reportree.io.IWriter = <class 'reportree.io.LocalWriter'>, entry: str = 'index.html')