allow code markdown inline
When chatting, I'm forced to use a new entry if I wish to use the
markdown for code. If I try to use it inline, it does not format into a code box and includes the "" in the message. If the message does not start with the ```, then it ignores that you are trying to use Markdown.
Christoph K. commented
Code formatting does not work on German keyboard layout, where chars like "backtick" don't appear immediately (used for creating accents on vowels). It does however work on English(US) keyboard layouts.
Also does not seem to work when editing an existing post, where I want to put code formatted into a numbered list, no matter the kb layout.
So I fiddled around with it a little, it is actually working, just requires a precise order of inputs, the Reason being that the "tick" characters, accents as they're originally called, are characters that never stand on their own but always above a letter.
Because of that, they are not printed immediately when you press the button but expect a letter input after, and if valid in combination produce the accented character, else they are printed in front of the second input UNLESS the second input is the space character, in which case the accent is printed on it's own.
Which is precisely what MS Teams is listening on.
This is important for the LAST Backtick only,
so when using inline Formatting you start your block with the backtick ` then input your code and then you press the Backtick character ONCE, followed by the space bar. This precise order of operations should produce the inline monospace (code) formatting.
For the multiline Version is even easier, you simply input the backtick THREE TIMES immediately followed by SPACE, this will produce a multiline codeblock that grows when you press enter. Enter twice in a row to leave the block, by the way.
Why this is not explained in detail on the MS tutorial website I have no idea, but this is how it works.
The fact that messagging apps on my very old have this feature, and a full collaboration platform like Teams doesn't is beyond EMBARRASSING, Microsoft.
Tom H. commented
@Michael Grenier, try typing Alt + 96 (on the keypad) to make the backtick character, if that's the problem you're having.
@Anonymous, on mine, I can't do backtick-pasted_code-backtick and expect it to be formatted. No, it seems I have to do backtick-pasted_code and hit spacebar and THEN the backtick, for it to pick it up. It's kind of like Conflu*nce in the way it does these things. Guess I'm spoiled by Slack... where I could send feedback and then get chatted up by an actual person, who would actually investigate the problem, the next day.
it took me a while to understand, that the inline code support is there, but ONLY if you type the inline code : `inlineCode` (backtick, "inlineCode", backtick, SPACE)
Franklin Smith commented
This entire product is unbelievable. STILL can't get inline code formatting to work. This issue was opened THREE YEARS AGO.
Too bad so many companies are being forced to switch to Teams because of Microsoft's anti-competitive behavior. *********, Microsoft.
It's April 27, 2020 and this is still a problem. Often I'll start a code block with a back-tick, then I cannot ever escape out of the code bock with another back-tick. I will echo what someone else said:
"Just play around with combinations of normal typing, backticks, and copy-pasting and you get into some weird situations. Add the monospace formatting button and it's pretty frustrating."
I appreciate the work that has been put into this over what looks like a long period of time but, for me, it still could use some polish.
Just play around with combinations of normal typing, backticks, and copy-pasting and you get into some weird situations. Add the monospace formatting button and it's pretty frustrating.
Nate Johnson commented
Cannot convince devs to switch to Teams due to the ****** code-snippet support. Single-backticks don't work in-line; triple-backtick starts a snippet but gives no easy way to END it. Seriously folks, this is not difficult. Get it right.
Michael Grenier commented
Just convinced every member of my organisation to switch from Slack to Teams.
Received a few complains that the markdown seems broken. No one can work out the `inline code` or ```multi-line code``` (we use French keyboard, similar to German).
Gordon Tyler commented
You can use single backquote, `like this`, to get monospace formatting inline.
Peter Bogdanovic commented
Support for mono-spaced code text boxes via the markdown ``` is a critical feature. As is support for pasting bigger chunks of code, the Slack "snippet" feature. Without support for those two things Teams is basically unusable for developers and sysadmins.
I was about to make the same suggestion only for a single back tick inline. It can do one code snippet inline but not multiple which is pretty frustrating.
You can use it in the middle of a message as long as it starts on a new line. Shift+Enter to start a new line without sending.
Jamie Thomson commented
Yet another issue with teams' markdown support. I sincerely hope the dev team are taking notice of all these issues and realising that their live conversion feature (where it changes markdown syntax on the fly) is not suited to those that are already very familiar with markdown.
Please just give us the ability to write raw markdown and then preview it before posting. That would solve SO MANY issues that have been posted up here.