Related topics
×
Sign in with Microsoft
Sign in or create an account.
Hello,
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.

若要在聊天或頻道訊息中傳送代碼段:

  1. 選取消息框下方的 [[展開] 按鈕 格式]。

  2. 選擇 [代碼段 代碼段按鈕以開啟對話框。

  3. 在對話框中,輸入代碼以及代碼段的標題。 如果您希望文字換行,請選取複選框,然後選取下拉功能表來選擇您要使用的語言。

  4. 取 [取消 ] 或 [插入 ],將代碼段新增至您的郵件。

    螢幕快照顯示展開的代碼段方塊

語法醒目提示和自動縮排可協助您以您想要的方式撰寫程序代碼。 當您傳送代碼段時,它會以卡片的形式包含在郵件中,且收件者可以內嵌檢視,並讓語法醒目提示完整無缺。

若要在傳送程式代碼后編輯代碼段,請選取 [ 更多選項 ], [其他選項] 按鈕 > 郵件上的 [ 編輯 按鈕圖像 ],然後在代碼段卡片上再次 編輯 按鈕圖像

Need more help?

Want more options?

探索訂閱權益、瀏覽訓練課程、瞭解如何保護您的裝置等等。

社群可協助您詢問並回答問題、提供意見反應,以及聆聽來自具有豐富知識的專家意見。

Was this information helpful?

How satisfied are you with the translation quality?
What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!

×