How To Format A Block of Code Within a Presentation?

Noah Goodrich picture Noah Goodrich · Nov 11, 2008 · Viewed 133.7k times · Source

I am preparing a presentation using Google Slides, though I can also work on the presentation within Open Office that will include code snippets.

Is there any easy way to perform basic syntax highlighting on the code snippets with either Google Docs or Open Office Presenter?

Edit: Since I believe that I can find a way to embed HTML, any tools that can perform syntax highlighting on HTML would also be welcome suggestions.

Answer

RobotEyes picture RobotEyes · Aug 24, 2012

An on-line syntax highlighter:

http://markup.su/highlighter/

or

http://hilite.me/

Just copy and paste into your document.