News Feed
Jobs Feed
Sections




News Archive
feed this:

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
March 11, 2009 @ 10: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.

0 comments voice your opinion now!
syntax highlighting slide presentation highlight tool example


Clay Loveless' Blog:
PHP MimeViewer for Trac
September 25, 2006 @ 07: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.

1 comment voice your opinion now!
mimeviewer trac syntax highlighting php_mimeview package mimeviewer trac syntax highlighting php_mimeview package



Community Events











Don't see your event here?
Let us know!


language example facebook symfony2 hack code application overview hhvm introduction security unittest opinion component package framework release composer install podcast

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework