0

I copy HTML text with syntax highlighting in Notepad++

coping HTML text with syntax highlighting in Notepad++

Then I insert it into the MS Word, taking into account the formatting inserting HTML text with syntax highlighting into the MS Word, taking into account the formatting

inserting HTML text with syntax highlighting into the MS Word, taking into account the formatting

As a result, the text does not have syntax highlighting text does not have syntax highlighting

text does not have syntax highlighting

What could be the reason? I have already reinstalled Notepad ++, returned the default settings to it, but nothing helps. Although it used to work. What could be the cause of the malfunction?

Toto
  • 19,304

2 Answers2

1

AFAIK there're no syntax highlighting in a word document.

"Keep source formatting" keeps format, not syntax highlighting

Toto
  • 19,304
1

Cool, this problem is solved!

More this -> Syntax highlighting not retained when pasting from Notepad++ into Word

It turns out that notepad version 7.7 and above does not support copying text with syntax highlighting. You need to install an earlier version, for example, I installed version 7.6.6 and it works! copy text with syntax highlighting in Notepad++

with syntax highlighting into the MS Word, taking into account the formatting

text does not have syntax highlighting