makinacorpus/makina-slides

Name: makina-slides

Owner: Makina Corpus

Description: Slides Makina Corpus

Created: 2014-01-23 16:47:16.0

Updated: 2017-12-04 17:06:35.0

Pushed: 2017-12-04 17:36:31.0

Homepage: http://makinacorpus.github.io/makina-slides/

Size: 66183

Language: CSS

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Contributing

Installation
virtualenv venv
source venv/bin/activate
git clone https://github.com/makinacorpus/makina-slides.git
cd makina-slides
pip install landslide
pip install watchdog
Good practice
Example config file

Let's take an example mydomain/myconfig.cfg

[landslide]
theme = assets/theme
source = mydomain/myslides.md
destination = docs/1-initiation-django.html
relative = True
embed = True
linenos = no
css = mydomain/css/mycustom.css
js = mydomain/js/mycustom.js

More documentation at https://github.com/adamzap/landslide

Next, just run:

  landslide mydomain/myconfig.cfg
Publishing

Presentation are served under http://makinacorpus.github.io/makina-slides/

Theming

If you need to change the style of all slides (on screen and print), edit assets/lanslide_theme/css/makina.css. If you need to change the style of all slides (on screen only), edit assets/lanslide_theme/css/screen.css. If you need to change the style of all slides (on print only), edit assets/lanslide_theme/css/print.css.

Structure
??? assets          --> symbolic link to docs/assets, for generation purposes
??? docs            --> Github delivery root
?   ??? assets      --> Assets directory
?   ?   ??? theme   --> landslide theme root
?   ?       ??? js
?   ?       ??? css
?   ??? index.html  --> home page, not generated
?   ??? *.html      --> presentation files
??? *               --> any other directory containing *.cfg files

Usage

Notes

Add notes to your slides using the .notes: keyword, eg.:

# My Slide Title

.notes: These are my notes, hidden by default

My visible content goes here

You can toggle display of notes by pressing the 2 key.

You can also add presenter notes to each slide by following the slide content with a heading entitled “Presenter Notes”. Press the 'p' key to open the presenter view.

Shortcuts while viewing
Exporting to PDF
Slide styles

Some slide styles are also available using .fx: foo bar will add the foo and bar classes to the corresponding slide <div> element.

Available classes for makina theme are:


Reveal-md

Installation
install -g reveal-md
install -g phantomjs

Live reload

avascript
al-md

Export HTML

al-md angular.md --css theme/makina.css --static ../docs/reveal-slides

Export PDF

al-md angular.md --print angular.pdf

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.