Commit Graph

4 Commits

Author SHA1 Message Date
David Russell
4a31f71c3f Updated syntax highlighting for code presenting. 2017-09-02 16:42:26 +07:00
David Russell
588fb94629 Updated opacity handling around code fragment highlights. 2017-05-29 21:33:46 +07:00
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
7c4efa5ab0 Released GitPitch under open source MIT license. 2016-08-27 09:49:46 +07:00