MCPcopy Create free account
hub / github.com/executablebooks/markdown-it-py / content

Method content

markdown_it/tree.py:304–307  ·  view source on GitHub ↗

In a case of self-closing tag (code, html, fence, etc.), it has contents of this tag.

(self)

Source from the content-addressed store, hash-verified

302
303 @property
304 def content(self) -> str:
305 """In a case of self-closing tag (code, html, fence, etc.), it
306 has contents of this tag."""
307 return self._attribute_token().content
308
309 @property
310 def markup(self) -> str:

Callers

nothing calls this directly

Calls 1

_attribute_tokenMethod · 0.95

Tested by

no test coverage detected