Julia
Julia

Reputation: 1

Paste code from Python into Word (Macbook)

I want to paste the code I wrote in Python into a Word document. I have a Macbook. I don't want the code to lose its formatting (indentations and colors). I have already tried it via Insert/Text/Object and with the programs Sublime Text and Atom, unfortunately without success.

Upvotes: 0

Views: 839

Answers (1)

MidereX
MidereX

Reputation: 101

It seems that Visual Studio Code can copy text with code highlighting, but I don't recommend it. In this case, I think it's best to just post a screenshot to your Word document.

Upvotes: 1

Related Questions