Identifying and tagging SQL script keywords within a Word document [closed]

0

I'm doing a system error manual for the company where I work. Within this manual you will have the description of the error, as well as its solution. Many of the solutions are very extensive SQL scripts.

I wonder if it's possible to mark (leave bold and other color) keywords just inside the script area, such as: SELECT, UPDATE, *, FROM, WHERE, etc.

Just like in forums, dropbox pages, etc. It may be similar to something that is done right here in stackoverflow, eg:

SELECT * FROM teste;
    
asked by anonymous 11.12.2015 / 13:51

1 answer

2

What you want is syntax highlighting.

Using Notepad ++ and the NppExport plugin you can do this.

First select the syntax you will use through the Language> S menu.

Type your code and then to export to Word go to Plugins> NppExport> Copy all formats to clipboard.

Then just paste it into Word using Ctrl + V

    
11.12.2015 / 14:06