What’s the best way to show code snippets in word?
go to “insert” tab, click “object” button (it’s on the right)
choose “openDocument Text”: it will open a new embedded word document
copy paste your code from Visual Studio / Eclipse inside this embedded word page
save and close
Go upvote this answer right now.