fix markdown code block

This commit is contained in:
Cyberes 2023-03-24 22:40:32 -06:00
parent 9139edcb60
commit 0588bc3f53
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ async def send_text_to_room(client: AsyncClient, room_id: str, message: str, not
content = {"msgtype": msgtype, "format": "org.matrix.custom.html", "body": message, }
if markdown_convert:
content["formatted_body"] = markdown(message)
content["formatted_body"] = markdown(message, extensions=['fenced_code'])
if reply_to_event_id:
if thread: