MCPcopy Create free account
hub / github.com/Paper2Poster/Paper2Poster / to_html

Method to_html

utils/src/presentation.py:469–475  ·  view source on GitHub ↗
(self, style_args: StyleArg)

Source from the content-addressed store, hash-verified

467 return cls(slide_idx, shape_idx, style, None, text_frame, slide_area, level)
468
469 def to_html(self, style_args: StyleArg) -> str:
470
471 return (
472 f"{self.indent}<div{self.get_inline_style(style_args)}>\n"
473 + self.text_frame.to_html(style_args)
474 + f"\n{self.indent}</div>\n"
475 )
476
477
478class Picture(ShapeElement):

Callers

nothing calls this directly

Calls 2

get_inline_styleMethod · 0.45
to_htmlMethod · 0.45

Tested by

no test coverage detected