MCPcopy Create free account
hub / github.com/an0/Letterpress / _processCodeBlock

Method _processCodeBlock

code/markdown2/test/markdown.py:1456–1476  ·  view source on GitHub ↗

Given a list of document lines starting with a code block finds the end of the block, puts it into the dom verbatim wrapped in (" ") and recursively processes the the remainder of the text file. @param parent_elem: DOM element to which the conte

(self, parent_elem, lines, inList)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 5

_processSectionMethod · 0.95
detectTabbedMethod · 0.80
createElementMethod · 0.80
createTextNodeMethod · 0.80
appendChildMethod · 0.45

Tested by

no test coverage detected