Add code snippets display in Word

  1. Go to Insert, locate the Text section
    image.png
  2. Click the Object button
    image.png
  3. Choose OpenDocument Text
    image.png
  4. Paste code in the new word page from Pycharm / IntelliJ Idea
  5. Save the file in the new page(Ctrl + S), close the new page
    image.png

你可能感兴趣的:(Add code snippets display in Word)