feat(matrix): render bot messages with HTML formatting
Add HTML formatted_body to Matrix bot messages so that markdown-style formatting (code blocks, bold, italic, lists) renders properly in Matrix clients. Uses the pulldown-cmark crate to convert markdown to HTML and sets the message format to org.matrix.custom.html. Story: 188_story_render_matrix_bot_messages_with_html_formatting
This commit is contained in:
@@ -33,3 +33,4 @@ matrix-sdk = { version = "0.16.0", default-features = false, features = [
|
||||
"native-tls",
|
||||
"sqlite",
|
||||
] }
|
||||
pulldown-cmark = { version = "0.12", default-features = false, features = ["html"] }
|
||||
|
||||
Reference in New Issue
Block a user