MCPcopy Index your code
hub / github.com/pymupdf/PyMuPDF / add_codeblock

Method add_codeblock

src/__init__.py:2189–2193  ·  view source on GitHub ↗

Add monospaced lines ("pre" node)

(self)

Source from the content-addressed store, hash-verified

2187 return self
2188
2189 def add_codeblock(self):
2190 """Add monospaced lines ("pre" node)"""
2191 child = self.create_element("pre")
2192 self.append_child(child)
2193 return child
2194
2195 def add_description_list(self):
2196 """Add description list ("dl" tag)"""

Callers 1

code_printerFunction · 0.80

Calls 2

create_elementMethod · 0.95
append_childMethod · 0.95

Tested by

no test coverage detected