Instead of trying to do the markdown inline, it should allow you to just enter the markdown so you can see what you're entering. Then, convert to markdown when you send. This is how Github, Slack, etc. all work. Maybe a preview? But, you can always just edit the text which should re-render the markdown.