We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 22c1a0e commit 14dc007Copy full SHA for 14dc007
src/molecule/util.py
@@ -391,5 +391,6 @@ def bool2args(data: bool) -> list[str]:
391
392
def print_as_yaml(data: Any) -> None:
393
"""Render python object as yaml on console."""
394
- result = Syntax(safe_dump(data), "yaml")
+ # https://github.com/Textualize/rich/discussions/990#discussioncomment-342217
395
+ result = Syntax(code=safe_dump(data), lexer="yaml", background_color="default")
396
console.print(result)
0 commit comments