[Standards] Proposed XMPP Extension: Styling

Goffi goffi at goffi.org
Mon Nov 6 20:58:41 UTC 2017


Le lundi 6 novembre 2017, 21:53:48 CET Daniel Gultsch a écrit :
> 2017-11-06 21:46 GMT+01:00 Goffi <goffi at goffi.org>:
> > And you have no indication of markup, so if I copy/paste some code for
> > instance, some client will render it with markup,
> 
> I think it is possible to avoid those 'false positives' to some
> degree. The limited amount of keywords and other rules (has to start
> with whitespace, not interupted by newline) already work quite well.
> If you come up with an example of a piece of code that will end up
> being styled even though it is not supposed to we can maybe fix this
> be slightly changing the rules.

Are you suggesting to do heuristic to detect if if a text use a markup or not?



More information about the Standards mailing list