Spaces:
Running
Running
| import textwrap | |
| from IPython.display import Markdown | |
| def to_markdown(text): | |
| text = text.replace('•', ' *') | |
| return Markdown(textwrap.indent(text, '> ', predicate=lambda _: True)) | |