How do I format code in my help file?
I need to paste some code examples to my help file, which should be formatted according to the style used in a specific programming language (e.g. PHP, Python, HTML, etc.) for function names, variables, keywords, etc.
But when I copy/paste the code into a topic, it is displayed as plain text.
How do I format the code in help documentation with the appropriate styles?
Use the Syntax Highlighter tool
You can use the HelpSmith's Syntax Highlighter tool to format program code in a topic:
Write tab|Syntax Highlighter
For more details, you can also visit:
https://www.helpsmith.com/webhelp/topics/using-syntax-highlighter.htm
Edit syntax highlighting schemes: formatting, colors, etc.
Please note that the Syntax Highlighter allows you to customize the schemes for specific languages.
To edit the syntax highlighting schemes: