saadjsct / matrixcli

Command line matrix client
GNU General Public License v3.0
135 stars 14 forks source link

Support for formatted messages #10

Open martinvonwittich opened 4 years ago

martinvonwittich commented 4 years ago

I tried to send a formatted message, both Markdown and HTML:

host ~ # matrixcli send -r '!tpDKoXaWvyTRgGxkTy:e8c75da2-02bd-4b44-b522-262bdf4134de' "$(echo '```'; echo 'foo'; echo '```')"
logging in ....
logged in ....
host ~ # matrixcli send -r '!tpDKoXaWvyTRgGxkTy:e8c75da2-02bd-4b44-b522-262bdf4134de' "$(echo '<pre>'; echo 'foo'; echo '</pre>')"
logging in ....
logged in ....

Unfortunately, both arrive as-is, with the markup instead of formatted. Support for formatted messages would be useful :)