pip install landslide
foo.md
to author your presentationfoo.md
# My slide title
My slide text
-------------
!python
>>> # This is some highlighted code
>>> testme = 'foo'
---
git clone https://github.com/akrabat/avalanche
default.css
from https://github.com/richleland/pygments-css/blob/master/default.css
myimage.jpg
in the directorypresentation.cfg
...[landslide]
source = foo.md
destination = ./foo.html
; directory where the theme is defined (not repository root)
theme = ./avalanche/avalanche/
; include syntax highlighting css, then presentation-specific css
css = ./pygments-css/default.css
./slide_background.css
; embed JS & CSS into output file for standalone html output
embed = True
; no line numbers in code view
linenos = no
slide_background.css
div.slides {
background-image: url("/home/mpenning/ciscoconfparse/tutorial/myimage.jpg");
background-size: cover;
}
div.highlight {
/* Most text uses div.highlight */
font-size: 70%;
}
div.inner pre {
/* code blocks use div.inner pre */
font-size: 90%;
}
landslide -i presentation.cfg
Table of contents | t |
---|---|
Exposé | ESC |
Autoscale | e |
Full screen slides | f |
Presenter view | p |
Source files | s |
Slide numbers | n |
Blank screen | b |
Notes | 2 |
Help | h |