Html¶
- class dsviper.Html¶
Bases:
objectA class used to generate HTML representation.
Note: Not directly instantiable.
- static body(content: str) str¶
Embed the content in a body.
- static document(title: str, style: str, body: str) str¶
Return an HTML document.
- static documents_details(documents: list[DocumentNode], show_type: bool = False) str¶
Return the HTML representation of the documents as a hierarchy of details.
- static dsm_definitions(definitions: DSMDefinitions, show_documentation: bool = False, show_runtime_id: bool = False) str¶
Return the HTML representation of the DSM Definitions.
- static style() str¶
Return the default style.