9

In this message, code formatting using backticks is not working, contrary to what is stated in the official FAQ.

4
  • 4
    Formatting in general doesn't work if the message contains a line break, it's not only code format.
    – Floern
    Commented Jun 22, 2017 at 13:46
  • 1
    Will it be fixed or is it intentional and we just need to avoid using a line break in the chat messages? I think such information should be included in the FAQ.
    – Toreno96
    Commented Jun 22, 2017 at 13:55
  • 3
    It's been like that forever and is considered as by-design, see Markdown in chat fails for multi-line messages
    – Floern
    Commented Jun 22, 2017 at 13:58
  • 5
    The FAQ is a little terse, but any linebreaks disable formatting. This is by design; you can indent the whole post and get preformatted text instead (CTRL-K will do this for you).
    – Martijn Pieters Mod
    Commented Jun 22, 2017 at 14:07

1 Answer 1

6

As already mentioned in the comments, messages with line-breaks in them break all markdown formatting, including code, links, [tag:foo]...

The only notable exception is indenting the entire message by 4 spaces, which yields code-block formatting for the whole thing.

1

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .