[Standards] Proposed XMPP Extension: Styling
goffi at goffi.org
Mon Nov 6 21:06:04 UTC 2017
Le lundi 6 novembre 2017, 22:04:29 CET Daniel Gultsch a écrit :
> 2017-11-06 21:58 GMT+01:00 Goffi <goffi at goffi.org>:
> > 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?
> No I'm implying that the current syntax already has very few false
> positives and we might be able to bring down the rate of false
> positives even more by changing the syntax slightly. But for that to
> work I need an example of a false positive.
"Wow, I can write in `monospace`, even a literal ``backtick
More information about the Standards