Syntax highlighting of code blocks with Prettify

Posted on February 22, 2012

0


If you have code blocks in your documentation with syntax that you want to color or emphasize, you want to see this blog post by Jenny Watson. In the post, Jenny Watson outlines a method of coloring code for API documentation with Prettify, a syntax highlighter by Google. See samples of syntax highlighting of code blocks from Prettify.

This blog has had a a few posts on syntax highlighting for code blocks in MadCap Flare. Unfortunately, the posts have not been updated or tested for versions of MadCap Flare 5 and later.

Advertisements
Posted in: Uncategorized