Python code broken because of space prefix
monperrus opened this issue · comments
Action: I copy-paste Python code produced by chatgpt-cli
Expected behavior: it runs
Actual behavior: it's broken because of a space indentation (coming from the highlighting perhaps).
How to fix this?
Thanks!
This is because markdown: true
.
with markdown: false
it works, and the output is still colorful, probably thanks to rich.Console