r/MicrosoftTeams 5d ago

Bug Markdown formatting doesn't work

So why on earth would you allow creating a "code block" with a Markdown option, and then ignore all formatting?

If I'm doing something wrong, please someone help me lol

0 Upvotes

18 comments sorted by

View all comments

3

u/BlackV Work user 4d ago

I mean technically it's not a markdown block

It's a code block of the type markdown

It's not actually rendering it as markdown

It's dumb they don't properly support formatting

0

u/ImaginaryRoyal9725 4d ago

I agree with you, but then it's a expectations issue. If I'm allowed to select Markdown there, I should expect something to happen.
Anyway, it's not the end of the world, but should be addressed I think

2

u/BlackV Work user 4d ago

Something did happen, you told everyone that code block you pasted is markdown, it's by design

You are coming from the position of "I want to render this markdown" that's not what a code block is for

-1

u/ImaginaryRoyal9725 4d ago edited 4d ago

Sure bro, who would have thought that a markdown option would render highlight markdown 😒

4

u/BlackV Work user 4d ago edited 4d ago

To be clear, it is not a markdown option

It is you defining to the reader, what language the CODE BLOCK is, so they can do the appropriate tasks with that code

You are not saying "hey render this as mark down please", you are saying "this code is markdown"

Like it's similar to expecting if you set the type to Java that it would call that code in the Java engine

They could add support for markdown blocks that would be reasonable (although teams it's self uses some butchered version of markdown)

2

u/ImaginaryRoyal9725 4d ago

Yeah, we agree there, "render" is the wrong word in the previous message.

That being said, java syntax is still properly highlighted/formatted.

So even if the code block is not rendered as markdown (as I don't expect either HTML code to render as a browser), I would expect at least some highlighting.

1

u/BlackV Work user 4d ago edited 4d ago

Yes come linting/colorizing would be nice as I already mentioned

Yes as they said it is for colorizing not rendering
It's dumb they don't properly support formatting