Code Snippet Support In Wiki
Code snippets have been added for team chat, but are not available in the wiki, where they would also be very useful.
My corp doesn't allow external access to stuff like Perfect Wiki below.
If we can use mark down in chat to put code blocks then why isn't this supported in Teams? I have to train internal and external and would like to leverage Teams and the Wiki to have code blocks using mark down.
Now I have to step outside and use GitHub (not all participants use GH) or a third party solution.
Ilia P commented
Unfortunately, built-in wiki is almost abandoned. That's why I suggest to try 3-rd party wiki solutions for MS Teams. For example, with Perfect Wiki you can add code snippets in VBScript/JS/Python and a lot of other programming languages.
Yea Please add more stuff to the wiki Such like code
Without the possibility to paste code snipplets to the wiki, i'won't change from google docs to microsoft teams. Please do it!
Please do this! Such an easy implementation! Just copy and paste the code you used on the chat!
Andy Ritchie commented
Also agree. chats is an inane spot for code snippets. Wiki makes way more sense.
Randall Wade commented
Please add this feature.
For my org, we need a good place to store scripts for reference down the road. To me, having this functionality in chat is a total waste of time, as I will never 'archive' my scripts in a conversation. That's what a wiki is for.
Matthew Fearrington commented
I'm writing a wiki for my job and I had the same question. There is this monospace thing which functions very close to a code snippet, with overflow scrolling and stuff.
At the top of the wiki in teams click the Paragraph dropdown and change it to Monospace. Attached is a screenshot.
Really hope this helps someone out!
I wholeheartedly disagree with the suggested reason for not putting code snippets in a permanent wiki, that syntax for languages changes over the time span of years/decades.
I don't know about you people, but at my workplace, we use MS Teams and its features for communication related to the products we develop. A wiki does not have to be more permanent than the product it documents, but it is incredibly useful during the time the product sees active development. And, realistically, we're talking about timespans of < 5 years before the documented internal APIs have been revised beyond recognition, not decades.
Still, no way this can be taken as a reason not to write and store any documentation at all while it would still be up to date.
+1 really needed or I go on Gitbook :)
Dirk Seynhaeve commented
Code snippets or markdown: just something, please?
How professional developers work in a communication site that doesn't speak their language??
Seth Wagenman commented
So one possible reason to *not* do code snippets in a permanent wiki is that syntax for languages changes over the time span of years/decades. Blog posts have a limited shelf life...could that be why Microsoft is not moving forward on this?
James Stoffell commented
Yeha not sure if it's been mentioned here, but we need to support code snippets in the wiki
No change since 10/2018! :-(
What's so complicated to support this?
This is important especially if we want to move away from confluence to Teams Wiki 😁
Nitin Karthy commented
This is more important in the wiki (where we maintain coding standards and patterns) than in team chat. Please implement.
Christopher Fox commented
This would be super helpful.
Theo Ekelmans commented
gimme gimme gimme......
Marcondes Santos commented
Code snippets on wiki!
Bernhard Lauber commented
Yes, me too! I would really appreciate it if code snippets were supported in the wiki.