How to copy from Code Snippet in Teams while maintaining formatting?

Anonymous
2023-04-18T22:05:33+00:00

Currently when you copy from the code snippet it copies all in 1 line. That seems counter intuitive.

Microsoft Teams | Microsoft Teams for business | Other

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
{count} votes

5 answers

Sort by: Most helpful
  1. Anonymous
    2023-04-18T22:37:41+00:00

    Hi! I am John, Independent Advisor here to work with you on this issue.

    Could you please give me an example or screenshot photo for me to figure it out? Thank you!

    Best Regards

    Disclaimer:

    This is a peer-to-peer support forum. I'm Non-Microsoft Staff, I don't work for Microsoft. Mostly everyone here are users helping other users.

    0 comments No comments
  2. Anonymous
    2023-04-19T08:54:38+00:00

    Hey Keith,

    I've found that if you leave the language drop-down as "Text", it should maintain your formatting when you paste it (you just won't get the formatting in the code snippet when you post it).

    0 comments No comments
  3. Anonymous
    2023-04-19T13:16:45+00:00

    Sure. Copying from the snippet does not maintain formatting.

    5 people found this answer helpful.
    0 comments No comments
  4. Anonymous
    2023-04-19T13:17:58+00:00

    I haven't found this to be the case, unfortunately.

    0 comments No comments
  5. Anonymous
    2023-04-19T19:30:36+00:00

    Hi Keith,

    Thank you for your response. I've found a forum created by another user, please try to visit this link https://answers.microsoft.com/en-us/msteams/for...

    0 comments No comments