Skip to content

"Markdown" messages? #89

Answered by skylord123
nic0lette asked this question in Q&A
Discussion options

You must be logged in to vote

I created this issue to track this:
#53

So currently the front-end of element converts markdown to HTML and HTML is all the matrix server sees. We would have to port the part of code from matrix-react-sdk that does this conversion.

In the mean time you can manually do HTML. What I do is send a message formatted in markdown then view the message source in element to see how it converts to HTML then build your flows using the HTML equivalent.

If you need a list of supported HTML tags you can use that can be found here:
https://github.com/matrix-org/matrix-react-sdk/blob/a1328d8ef70c6dba620caeab56b3c0a6867f79b4/src/HtmlUtils.tsx#L234-L297

And for future reference this is the part of matrix-r…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by nic0lette
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants