Integrating Babylon.js code into MS Word 2019

Hello, I use Babylon.js inside VisualStudio 2017. I need help: what is the best way please to take the source code from VS and format it to/for display it in MS Word? How to do it perfectly? Thank you in advance for your time.

When copying from vscode the formatting is kept:

Isn’t that the case in visual studio as well?

2 Likes