How to apply syntax highlighting to code snippets in MadCap Flare
June 30th, 2009 2 Comments
How to apply syntax highlighting to code snippets in MadCap Flare.
The anonymous blogger at kungfuwit.wordpress.com describes how to use the SHJS (Syntax Highlighting for JavaScript) resources to make code snippets easier to digest, and easier on the eye.
My documentation rarely ever contains code, but it's the kind of thing that may come in useful one of these days.
Note: He/she says this doesn't work in WebHelp - only for .chm - but there's a workaround I'll blog myself when I get some time.
Potentially similar posts
- It’s got to be fun – May 2011
- Use the existence of a file on the server to determine Javascript behaviour in the browser – November 2010
- PHP: swapping round columns & rows in field/record data – July 2010
- Does online help need an overall structure? – June 2010
- twitter: the RSS for today – April 2010
August 24th, 2010 at 9:36 pm (#)
Hello, did you ever get to blog the workaround for this? I have a lot of code snippets in my documentation and it's a nightmare having to manage them. Note: I create my help in WebHelp.
August 27th, 2010 at 8:22 pm (#)
Sorry, I can't remember what workaround I was referring to. I only very rarely have code snippets in the documentation I write, so it's not something I have to think about often.
This may be a good solution: http://alexgorbatchev.com/SyntaxHighlighter/manua...