Hello!
 
15.03.2018, 18:30, "Ненахов Андрей" <andrew.nenak...@redsolution.ru>:
Using markdown for text formatting is a bad idea. 
 
Markdown is used as a simple means to give a semi-rich text formating where complex WISIWYG editors can't be used. Like, webpage contents editing in many CMSs. However, user always knows that if he styles text using markdown, it'll always be presented in rich text form. This isn't the case with XMPP messengers, where  user typically has just one field to enter message text. App has no way of knowing if user intended to be rich format text or not. Also, app has no way of knowing if it has to provide a plaintext version of message, and markdown version.
 
It will likely result in app treating all messages as 'markdown' messages, and any unsupporting clients would get messages with ## --- etc. 
It'll also result in unwanted formatting if users will send each other portions of code or config files, commented out lines would be presented as headers, etc. 
 
It can be avoided if sending user will get some form of control whether they want to have it processed with markdown or not (like a switch), but it'll complicate UX, and switching from plaintext to markdown is generally worse than switching from plaintext to WISIWYG interface employing some kind of rich editor to compose messages (like Gmail does, for example). 
 
That's one of the lot of reasons I hate the idea of XEP-0393 from the beginning.
IMHO using LML in messages is just a patch for ancient things from the last century like IRC or FIDO, which support plain text only.
Modern XMPP, which uses XML with almost unlimited possibilities doesn't need such patches and crutches.
 
With my best regards,
Konstantin
_______________________________________________
Standards mailing list
Info: https://mail.jabber.org/mailman/listinfo/standards
Unsubscribe: standards-unsubscr...@xmpp.org
_______________________________________________

Reply via email to