Sharing Code Snippets through Chat

%3CLINGO-SUB%20id%3D%22lingo-sub-41125%22%20slang%3D%22en-US%22%3ESharing%20Code%20Snippets%20through%20Chat%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-41125%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20MS%20Teams%20Team%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIs%20there%20any%20update%20on%20when%20code%20formatting%20will%20be%20available%20in%20Teams%3F%20I%20have%20several%20development%20teams%20ready%20to%20switch%20away%20from%20Slack%20but%20the%20missing%20piece%20is%20being%20able%20to%20share%20Code%20Snippets.%20Right%20now%20copy%2Fpaste%20doesn't%20keep%20the%20proper%20formatting%20and%20it%20would%20be%20very%20useful%20for%20development%20teams%20to%20be%20able%20to%20share%20code%20for%20reviews%20through%20chat.%20Thanks!%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EGary%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-41125%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EChat%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EConversations%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EDeveloper%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMicrosoft%20Teams%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EUser%20Interface%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-137004%22%20slang%3D%22en-US%22%3ERe%3A%20Sharing%20Code%20Snippets%20through%20Chat%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-137004%22%20slang%3D%22en-US%22%3E%3CP%3EI'm%20some%20way%20ahead%20due%20to%20interaction%20with%20the%20product%20group.%20I%20tried%20in%20the%20browser%20and%20it%20doesn't%20work%20at%20all.%20I%20would%20recommend%20using%20the%20feedback%20button%20to%20report%20a%20problem.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-136995%22%20slang%3D%22en-US%22%3ERe%3A%20Sharing%20Code%20Snippets%20through%20Chat%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-136995%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20679px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F25573iE7EFB9C5A2AE4B0C%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22Screen%20Shot%202017-12-13%20at%202.52.17%20PM.png%22%20title%3D%22Screen%20Shot%202017-12-13%20at%202.52.17%20PM.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3Esadly%20not%20for%20me%20%3A(%3C%2Fimg%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-136993%22%20slang%3D%22en-US%22%3ERe%3A%20Sharing%20Code%20Snippets%20through%20Chat%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-136993%22%20slang%3D%22en-US%22%3Ewhich%20version%3F%201.0.00.33451%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-136991%22%20slang%3D%22en-US%22%3ERe%3A%20Sharing%20Code%20Snippets%20through%20Chat%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-136991%22%20slang%3D%22en-US%22%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F25572iBC6F92256617E841%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22Capture.PNG%22%20title%3D%22Capture.PNG%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EDark%20theme%20clearly%20fixes%20it.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-136987%22%20slang%3D%22en-US%22%3ERe%3A%20Sharing%20Code%20Snippets%20through%20Chat%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-136987%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20612px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F25570i6535E708071E2E3C%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22Capture.PNG%22%20title%3D%22Capture.PNG%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-136971%22%20slang%3D%22en-US%22%3ERe%3A%20Sharing%20Code%20Snippets%20through%20Chat%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-136971%22%20slang%3D%22en-US%22%3E%3CP%3ENot%20correctly...%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20669px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F25566iB078CBE17837C958%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22Screen%20Shot%202017-12-13%20at%202.24.53%20PM.png%22%20title%3D%22Screen%20Shot%202017-12-13%20at%202.24.53%20PM.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-136955%22%20slang%3D%22en-US%22%3ERe%3A%20Sharing%20Code%20Snippets%20through%20Chat%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-136955%22%20slang%3D%22en-US%22%3E%3CP%3E%60word%60%20does%20render%20as%20expected%20in%20Teams.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-136918%22%20slang%3D%22en-US%22%3ERe%3A%20Sharing%20Code%20Snippets%20through%20Chat%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-136918%22%20slang%3D%22en-US%22%3E%3CP%3EThis%20isn't%20%22snippets%22%2C%20just%20formatting.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ESnippets%20allow%20you%20to%20paste%20code%20which%20can%20do%20syntax%20highlighting%20based%20on%20language.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAlso%20%60word%60%20should%20render%20like%3CCODE%3Eword%3C%2FCODE%3E%3C%2FP%3E%3CP%3EInteresting%20%60%60%60%20will%20render%20a%20code%20format%3C%2FP%3E%3CPRE%3E%20%3C%2FPRE%3E%3CP%3E%20but%20ending%20%60%60%60%20will%20not%20close%20it%20back%20to%20normal%20formatting.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-85414%22%20slang%3D%22en-US%22%3ERe%3A%20Sharing%20Code%20Snippets%20through%20Chat%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-85414%22%20slang%3D%22en-US%22%3E%3CP%3EClick%20on%20the%20A%20to%20modify%20text%2C%20choose%20paragraph%2C%20then%20Code.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-41359%22%20slang%3D%22en-US%22%3ERe%3A%20Sharing%20Code%20Snippets%20through%20Chat%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-41359%22%20slang%3D%22en-US%22%3E%3CP%3EThanks%20for%20the%20link!%20Good%20to%20know%20it's%20planned%20but%26nbsp%3BI'm%20still%20hoping%20someone%20can%20give%20a%20little%20insight%26nbsp%3Baround%20a%20timeline.%20Things%20can%20stay%20%22Planned%22%20for%20a%20very%20long%20time%20without%20movement.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-41283%22%20slang%3D%22en-US%22%3ERe%3A%20Sharing%20Code%20Snippets%20through%20Chat%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-41283%22%20slang%3D%22en-US%22%3EIt's%20in%20the%20'planned'%20category%20on%20uservoice%20...%3CBR%20%2F%3E%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fmicrosoftteams.uservoice.com%2Fforums%2F555103-public-preview%2Fsuggestions%2F16932697-code-snippets%3Fpage%3D1%26amp%3Bper_page%3D20%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fmicrosoftteams.uservoice.com%2Fforums%2F555103-public-preview%2Fsuggestions%2F16932697-code-snippets%3Fpage%3D1%26amp%3Bper_page%3D20%3C%2FA%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-41155%22%20slang%3D%22en-US%22%3ERe%3A%20Sharing%20Code%20Snippets%20through%20Chat%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-41155%22%20slang%3D%22en-US%22%3EI%20have%20no%20heard%20any%20news%20about%20this%20support%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1764223%22%20slang%3D%22en-US%22%3ERe%3A%20Sharing%20Code%20Snippets%20through%20Chat%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1764223%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F102358%22%20target%3D%22_blank%22%3E%40Christopher%20Denneen%3C%2FA%3E%26nbsp%3BSee%20the%20end%20of%20my%20comment%20says%20%22then%20Code%22.%3CBR%20%2F%3EThe%20button%20in%20formatting%20for%20code%20snippets%20looks%20like%20%22%20Code%20snippet%22%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
New Contributor

Hi MS Teams Team,

 

Is there any update on when code formatting will be available in Teams? I have several development teams ready to switch away from Slack but the missing piece is being able to share Code Snippets. Right now copy/paste doesn't keep the proper formatting and it would be very useful for development teams to be able to share code for reviews through chat. Thanks!

 

Gary

13 Replies
Highlighted
I have no heard any news about this support
Highlighted
Highlighted

Thanks for the link! Good to know it's planned but I'm still hoping someone can give a little insight around a timeline. Things can stay "Planned" for a very long time without movement. 

Highlighted

Click on the A to modify text, choose paragraph, then Code.

Highlighted

This isn't "snippets", just formatting.

 

Snippets allow you to paste code which can do syntax highlighting based on language.

 

Also `word` should render like word

Interesting ``` will render a code format

 

but ending ``` will not close it back to normal formatting.

Highlighted

`word` does render as expected in Teams.

Highlighted

Not correctly... 

 

Screen Shot 2017-12-13 at 2.24.53 PM.png

Highlighted
Highlighted

 

Capture.PNG

 

Dark theme clearly fixes it.

 

 

Highlighted
which version? 1.0.00.33451
Highlighted

Screen Shot 2017-12-13 at 2.52.17 PM.png

sadly not for me :(

Highlighted

I'm some way ahead due to interaction with the product group. I tried in the browser and it doesn't work at all. I would recommend using the feedback button to report a problem.

Highlighted

@Christopher Denneen See the end of my comment says "then Code".
The button in formatting for code snippets looks like "</> Code snippet"