Navigation: Writing Help Topics > Using Syntax Highlighter >
Formatting Code with Syntax Highlighter
Send comments on this topic.
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. If you need to apply another programming language, click on the lower half of the Syntax Highlighter button 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.
When you apply the Syntax Highlighter feature to the selected text, HelpSmith inserts a code block, for which you can specify the language, style settings, and also settings related to exporting the code block to various output formats.
1.In the word processor, double-click on the start bound of the code block that you need.
2.In the Code Block dialog, specify the language and other settings.
Remark: HelpSmith allows you to apply settings to multiple code blocks, so you can easily set a single style for the code blocks contained in your help project.
Copyright © 2007-2023 HelpSmith.com