Fix code wrap in markdown (#3755)

This commit is contained in:
Alek Petuskey 2024-08-20 12:11:39 -07:00 committed by GitHub
parent 2d9380a6fd
commit 13a6d538a9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -70,7 +70,7 @@ def get_base_component_map() -> dict[str, Callable]:
"a": lambda value: Link.create(value),
"code": lambda value: Code.create(value),
"codeblock": lambda value, **props: CodeBlock.create(
value, margin_y="1em", **props
value, margin_y="1em", wrap_long_lines=True, **props
),
}