Code Line Numbers Setting


The code-line-numbers setting lets you activate the display of line-numbers alongside code rendered on slides within your presentation.

Sample Syntax

code-line-numbers : true


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

The activation of line-numbers alongside code can help simplify conversations between you and your audience - providing an effective way to identify and discuss specific lines of code on any slide.

By default, line-numbers are not shown alongside code blocks:


When the code-line-numbers setting is enabled, line-numbers are rendered alongside code as shown in the following screenshot:


Click on the above image to experience code line-numbers within a live GitPitch presentation.

Specific line-numbers are highlighted just like the code itself when you are code presenting .