celebibasar's picture
Upload 4 files
f0d39ce verified
raw
history blame contribute delete
190 Bytes
import textwrap
from IPython.display import Markdown
def to_markdown(text):
text = text.replace('•', ' *')
return Markdown(textwrap.indent(text, '> ', predicate=lambda _: True))