Navigation: Writing Help Topics > Using Syntax Highlighter >

Formatting Code with Syntax Highlighter

Send comments on this topic.



HelpSmith allows you to write documentation containing program code written in various programming languages, such as C++, C#, Visual Basic, Delphi, Java, PHP, JavaScript, HTML, etc. While you can copy program code from your development environment and paste it into a topic as regular text, the HelpSmith's Syntax Highlighter tool allows you to format the inserted code according with the styles used for a specific language.


Format Code with Syntax Highlighter

1.In the word-processor, select the program code that you want to format with Syntax Highlighter.

2.On the Write tab, in the Program Code group, click the Syntax Highlighter button.


Remark: The Syntax Highlighter button applies the style scheme for the last used programming language. To apply the programming language that you need, click on the bottom part of the Syntax Highlighter button (with the arrow icon) and select the language in the popup menu. If the popup menu does not display the language that you need, click Customize to select which programming languages you want to display.



Related Topics

Syntax Highlighting Settings

Copyright © 2007-2020