MCPcopy Create free account
hub / github.com/PageBot/PageBot / node_ul

Method node_ul

Lib/pagebot/base/typesetter.py:289–297  ·  view source on GitHub ↗
(self, node, e)

Source from the content-addressed store, hash-verified

287 self.typesetNode(node, e)
288
289 def node_ul(self, node, e):
290 context = self.galley.context
291 style = self.styles.get('ul')
292 if style is not None:
293 s = context.newString('\n', style=style)
294 self.append(s)
295 self.typesetNode(node, e)
296 if style is not None:
297 self.append(s)
298
299 def node_li(self, node, e):
300 """Generate bullet/Numbered list item."""

Callers

nothing calls this directly

Calls 4

appendMethod · 0.95
typesetNodeMethod · 0.95
newStringMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected