Skip to content
David Russell edited this page Sep 6, 2016 · 2 revisions

The Highlight Setting gives you the ability to customize the syntax highlighting style for Markdown Code Blocks in your slideshow presentations.

GitPitch syntax highlighting is powered by highlight.js which offers support for 162 languages and 74 distinct visual styles. See here for an interactive demo of available styles. The default highlighting style used by GitPitch presentations is GitHub GIST.

To override this default select a style from the list of available styles and use the Highlight Setting in your PITCHME.yaml file as follows:

highlight : monokai

Note, double-barrel style names such as Mono Blue must be hyphenated, as follows:

highlight : mono-blue

As soon as the PITCHME.yaml is pushed to your Git repo your slideshow will render Markdown code blocks using the style indicated.

Clone this wiki locally