Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Matthew Weier O'Phinney's Blog:
Syntax Highlighting for Technical Presentations
Mar 11, 2009 @ 15:22:17

If you've given any kind of technical presentation, you know that presenting code samples (clearly) can be one of the larger challenges. Matthew Weier O'Phinney has found a solution that works well for him and his slides - Highlight.

Being a technical presenter, I've often run up against the issue of how to present code snippets. The easiest route is to simply cut-and-paste into your presentation software. However, such code is basically unreadable. [...] The first trick I tried was to take screenshots of gvim. However, this had distinct downsides. [...] The next trick I tried was to use Zend Studio or Eclipse to create my screen shots.

He talks about the tool (Highlight) and its use - basically you specify the input, output and the language it needs to highlight for with more fine-tuning options like font size, line width and more. Compare this and this to the end result of Highlight here to get a feeling for how the product might look.

tagged: syntax highlighting slide presentation highlight tool example

Link:

Clay Loveless' Blog:
PHP MimeViewer for Trac
Sep 25, 2006 @ 12:33:21

Clay Loveless, spurred on by a comment from a visitor to his site, has modified his Trac package to get things working correctly with the syntax highlighting.

As John Herren pointed out in the comments to yesterday’s post, my suggestion for PHP syntax coloring wasn’t working for several versions of Trac.

After a little digging, it turned out that my CSS rules were based on the non-standard SilverCity highlighting output, rather than the newer and more common native PHP highlighting.

His solution is to create a simple shell script, php_mimeview, to make adding cirrect syntax highlighting as easy as changing your config.

tagged: mimeviewer trac syntax highlighting php_mimeview package mimeviewer trac syntax highlighting php_mimeview package

Link:

Clay Loveless' Blog:
PHP MimeViewer for Trac
Sep 25, 2006 @ 12:33:21

Clay Loveless, spurred on by a comment from a visitor to his site, has modified his Trac package to get things working correctly with the syntax highlighting.

As John Herren pointed out in the comments to yesterday’s post, my suggestion for PHP syntax coloring wasn’t working for several versions of Trac.

After a little digging, it turned out that my CSS rules were based on the non-standard SilverCity highlighting output, rather than the newer and more common native PHP highlighting.

His solution is to create a simple shell script, php_mimeview, to make adding cirrect syntax highlighting as easy as changing your config.

tagged: mimeviewer trac syntax highlighting php_mimeview package mimeviewer trac syntax highlighting php_mimeview package

Link:


Trending Topics: