MCPcopy Index your code
hub / github.com/Python-Markdown/markdown / to_html_string

Function to_html_string

markdown/serializers.py:187–189  ·  view source on GitHub ↗

Serialize element and its children to a string of HTML5.

(element: Element)

Source from the content-addressed store, hash-verified

185
186
187def to_html_string(element: Element) -> str:
188 """ Serialize element and its children to a string of HTML5. """
189 return _write_html(ElementTree(element).getroot(), format="html")
190
191
192def to_xhtml_string(element: Element) -> str:

Callers

nothing calls this directly

Calls 1

_write_htmlFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…