I'd say go with the XEP-0071 structure with a <markdown/> element and an appropriate namespace (is there a common one? Google turns up nothing). This leaves the standard <body/> element to contain your plain text. As to experience, none I'm afraid :)
_____________________________________________________ Steven Lloyd Watkin Software Engineer PHP ::: Java ::: Ruby ::: Node.js ::: JavaScript ::: XMPP :: + many more [email protected] (email+jid) ::: http://www.evilprofessor.co.uk Github / Twitter / Flickr / Facebook: lloydwatkin Organiser of WORLD RECORD breaking charity event: Scuba Santas ::: http://www.scuba-santas.co.uk Supporting the RNLI & DDRC - NDAC, Chepstow On 5 January 2016 at 15:49, Peter Waher <[email protected]> wrote: > Hello > > Does anyone have experience in using markdown in XMPP IM chat applications? > > More and more applications use markdown as a simple way to format text > messages on the fly, and I'm considering using markdown in XMPP IM chat as > well. But instead of sending markdown as simple text in a normal message, I > would like to mark it as such and provide an unformatted text version (with > any markdown formats removed) as well, much like how HTML-IM works. > > Best regards, > Peter Waher > > _______________________________________________ > Standards mailing list > Info: http://mail.jabber.org/mailman/listinfo/standards > Unsubscribe: [email protected] > _______________________________________________ > >
_______________________________________________ Standards mailing list Info: http://mail.jabber.org/mailman/listinfo/standards Unsubscribe: [email protected] _______________________________________________
