Code Highlight Setting



Purpose

The highlight setting lets you customize the syntax highlighting style for code rendered on slides within your presentation.

Sample Syntax


highlight : monokai

Details

Slideshow settings are activated using a PITCHME.yaml properties file.

As the following sample slides demonstrates, selecting a custom highlighting style for your decks can results in radically different rendering for code slides:

CODE-HIGHLIGHTING-AGATE

CODE-HIGHLIGHTING-SOLARIZED-LIGHT

For more example code slides, see the Code Highlighting Guide. You can also find a complete list of the currently available themes on the Highlight.js website.

Note, double-barrel highlight.js style names, such as Mono Blue, must be hyphenated. For example:


highlight : mono-blue

All highlight.js style names specified on the highlight setting must be in lower-case only.