MCPcopy Create free account
hub / github.com/BishopFox/aimap / code_block

Function code_block

presentation/aimap_slides.py:59–69  ·  view source on GitHub ↗
(code_str, width=12, font_size=14)

Source from the content-addressed store, hash-verified

57
58
59def code_block(code_str, width=12, font_size=14):
60 code = Code(
61 code=code_str,
62 language="python",
63 font_size=font_size,
64 background="rectangle",
65 background_stroke_color=BORDER,
66 insert_line_no=False,
67 style="monokai",
68 )
69 return code
70
71
72def glow_dot(pos, color=ACCENT_BLUE, radius=0.06):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected