Commit Graph

5 Commits

Author SHA1 Message Date
David Russell
1f834dbf73 Added support for code-block delimiter and code fragment highlights.
This commit add support for a new code-block delimiter that provides a simple way to inject any source code file found within the repo as a Markdown code-block on a presentation slide. The delimiter syntax looks as follows:

—?code=path/to/source/code.file

This commit also introduces support for code fragment highlighting. The CF-marker syntax, one or more of which must follow a code-block in your markdown, looks as follows:

@[fragment-range](optional-note)

Where fragment-range identifies a single line number, @[1], or a range of numbers, @[5-10]. The optional note is plain text that is displayed on the slide below the code-block when the fragment is in focus.
2017-05-27 16:09:18 +07:00
David Russell
805571ae38 Added support for charts via Charts.js plugin. 2017-02-28 12:01:44 +07:00
David Russell
97001336d9 Updated built-in slideshow help menu. 2017-02-23 09:34:39 +07:00
David Russell
9c870227ac Added support for reveal.js v3.4.1.
GitPitch default reveal.js dependency is now 3.4.1.

Also added support for new PITCHME.yaml property, called revealjs-version. This property allows a presentation owner to specify a specific version of reveal.js to use with their presentation.

Currently supported versions are 3.4.1 or 3.3.1.
2017-02-10 14:32:34 +07:00
David Russell
7c4efa5ab0 Released GitPitch under open source MIT license. 2016-08-27 09:49:46 +07:00