• Stars
    star
    316
  • Rank 131,855 (Top 3 %)
  • Language
    CSS
  • Created over 11 years ago
  • Updated over 6 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Beautiful HTML5 slides in markdown. A easy-to-use fork of the google-io-2012 slide deck

Slidedeck: HTML5 Slideshows in markdown

PyPI Version Downloads

Take a look at these slides!

Overview

This is a repackaging of the google io 2012 slidedeck, with some modifications, to be a little easier to use and more suitable for scientific presentations.

We've made a few changes:

  • You edit and author your entire presentation in markdown.
  • All the metadata about your project is set within the markdown file, including things like the title and author.
  • It's packaged as a python project.
    • You run slidedeck create to make a new deck. This will create a new directory with your project. In particular, there will be a fine in there called slides.md that contains the markdown source for your slides.
    • slidedeck render will render your deck from markdown to html5.
    • slidedeck watch will watch your project and rerender the slides whenever you change the content (useful for iterative development).
  • I made a few stylistic changes to the css, including changing the font size.
  • The slides can contain LaTeX, which is rendered via mathjax.
  • There are no google logos all over the place

Getting started

slidedeck can be installed with pip.

$ pip install slidedeck

Create a new project, complete with some template slides, the css, and the javascript.

$ slidedeck create my_slides

Look in there for the slides.md file, and edit it to your liking. When you want to see your work, compile the slides from markdown into HTML.

$ slidedeck render

You can also have the HTML auto-compiled from markdown, any time the files change on disk.

$ slidedeck watch

If you're curious about how any of these commands work, pass the -h flag to the command line executable,

$ slidedeck -h
$ slidedeck create -h

Tricks

slidedeck watch works nicely with the tincr extension for chrome, which will refresh your browser every time the html files its serving are changed on disk.

Adding molecules with JSmol

If you have internet access, you can add a molecule to your slides by using

<script type="text/javascript" src="http://chemapps.stolaf.edu/jmol/jmol.php?pdbid=1A9U&inline&script=cartoon only"></script>

more options are explained here.

For an offline version, you need a local copy of JSmol.min.js, and j2s (see the JSmol wiki).

Then add the following to the header of base.html

<script type="text/javascript" src="JSmol.min.js"></script>
<script type="text/javascript">
    var Info = {
        height: 500,
        width: 500,
        use: "HTML5"
    };
</script>

And insert

<script type="text/javascript">
  jmolApplet0 = Jmol.getApplet("jmolApplet0", Info);
  Jmol.script(jmolApplet0,"background white; load 1A9U.pdb; cartoon only;")
</script>

in the slide where you want the molecule to appear.

Examples

Below are some examples of slides using this deck.

https://rawgit.com/kyleabeauchamp/BPS2015/master/index.html

https://rawgit.com/kyleabeauchamp/DefenseSlides/master/index.html

http://rawgit.com/kyleabeauchamp/MSMBuilderTalk/master/index.html

License

            DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
                    Version 2, December 2004

Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.

            DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
  TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION

0. You just DO WHAT THE FUCK YOU WANT TO.

More Repositories

1

npcuda-example

Example python (numpy) -- CUDA installable package with a C-extension library
C
143
star
2

jupyter-emacskeys

Emacs keybindings for Jupyter notebook
Python
88
star
3

python-appveyor-conda-example

Demo project for building and shipping Python conda packages with Appveyor CI and Travis CI
PowerShell
66
star
4

reftagger

Parse and tag unstructured academic citations.
Python
46
star
5

pyhmc

Hamiltonain Monte Carlo in Python
Python
35
star
6

logsumexp

Fast SSE logsumexp for python/numpy
C
29
star
7

figshare

Command line client for figshare
Python
19
star
8

pyvdwsurface

Molecular (Van der Waals) surface.
C++
18
star
9

sphinxcontrib-autodoc_doxygen

Sphinx / Doxygen bridge
Python
15
star
10

covar

Compute shrinkage estimates of the covariance matrix
Python
14
star
11

sphinxcontrib-lunrsearch

Instant search for Sphinx
Python
12
star
12

mydra

Python
12
star
13

openmm-webbuilder

JS/HTML5 webapp for setting up custom GPU-accelerated OpenMM molecular dynamics simulations.
JavaScript
12
star
14

mullermsm

Markov State Models on the Muller potential: a MSMBuilder Tutorial
Python
11
star
15

async-priority-channel

Rust
10
star
16

r-rmcgibbo

Python
9
star
17

resp2

RESP plugin for PSI4
C++
9
star
18

openmm-cookbook

A collection of code snippets for doing molecular simulations with OpenMM.
9
star
19

msmaccelerator2

Adaptive Sampling Markov State Model Driven Molecular Dynamics
Python
8
star
20

Jarvis

C++
8
star
21

execgraph

Parallel execution of shell commands with DAG dependencies
Rust
7
star
22

openmm-cmd

OpenMM Command Line Application
Python
7
star
23

qchem-utils

Utilities for working with Q-Chem
Python
7
star
24

information

Some information theory stuff -- transfer entropy, etc.
Python
7
star
25

nixpkgs-hammering-action

Python
5
star
26

projector

Interactive plotting of MD projections + molecular viewer with HTML5 and WebGL
JavaScript
4
star
27

conda-hint

Hint generation for conda resolver.
Python
4
star
28

history

An enhanced history(1) for bash
Rust
4
star
29

pypatchelf

Patchelf utility, packaged for python/pip
Python
4
star
30

simtk.unit

Python Units
Python
4
star
31

ropen

Rust
3
star
32

hpcutils

Command line utilities for working remotely on HPC clusters.
Python
2
star
33

msmbuilder3

Work on progress for next iteration of MSMBuilder
Python
2
star
34

doccheck

Check that docstrings satisfy Numpy format
Python
2
star
35

sudoku

Haskell Sudoku Solver
Haskell
2
star
36

post-build-postgres

Nix post-build-hook to upload to postgresql
Rust
2
star
37

cache-dash-h

cache the help text for your dog-slow scripts
C++
2
star
38

mutations

Notes (and code) on efficiently simulating mutants with MSMs
Python
2
star
39

okbot

Respond to OkCupid messages with tweets.
Python
2
star
40

fsync

Use your local GUI editor for remote development over SSH
Shell
2
star
41

opt-k

Likelihood framework for choosing the optimal number of states in a Markov State Model
TeX
2
star
42

idle-trigger

Trigger a command when the CPUs are idle
Rust
2
star
43

circular_dichroism

prediction of cd spectra from structures
Python
2
star
44

metric-learning

metric learning stuff
Python
2
star
45

minimsmbuilder

Python
2
star
46

hdf5pickle

Fast persistence of Python objects to HDF5 files
Python
2
star
47

nixpkgs-hammering-action-example

See https://github.com/rmcgibbo/nixpkgs-hammering-action
Nix
2
star
48

GPURMSD

Yutong's GPU accelerated RMSD code
C++
1
star
49

precedenceConstrainedKnapsack

Precedence constrained knapsack problem solver
C++
1
star
50

cargo-remote

cargo subcommand to compile rust projects remotely
Rust
1
star
51

python-flake-utils

Nix
1
star
52

ipython_parallel_profiles

profiles for IPython.parallel
Python
1
star
53

bibtex-resolver

Python
1
star
54

holmes_rubin

Holmes-Rubin EM Estimator for Continuous-Time Markov processes
Python
1
star
55

arduino

Personal arduino projects
Processing
1
star
56

tungsten

Parallel Markov State Model Acceleraed Molecular Dynamics
C++
1
star
57

rmcgibbo-config

My config files (bashrcs, etc) to be synced across machines
Emacs Lisp
1
star
58

zmq-objc-framework

Objective-C binding for ZeroMQ. Fork of https://github.com/jeremy-w/objc-zmq
Shell
1
star
59

cctools-3.4.2-fork

Fork of cctools (workqueue) for MSMAccelerator
C
1
star
60

bagofwaves

Python
1
star
61

rmcgibbo.org

professional website
CSS
1
star
62

wavekernel

C++
1
star
63

oom-enospc-notify

Detect OOM and ENOSPC errors with BPF
Python
1
star
64

kmeansrmsd

C
1
star
65

openmm-pulling

Pulling Simulation and Smoothing
Python
1
star
66

openmm-builder

A graphical interface for building (and now running!) OpenMM scripts
Python
1
star
67

toy-systems

Python
1
star
68

nebterpolator

Interpolator for generating smooth paths from an ab-intio MD trajectory for NEB calculations.
Python
1
star
69

openmm-debpackaging

Shell
1
star
70

adaptive-group-testing

https://en.wikipedia.org/wiki/Group_testing#Generalised_binary-splitting_algorithm
Python
1
star
71

neb

OpenMM Nudged Elastic Band (NEB) Plugin. Currently only supports steepest descent optimization -- needs a little to switch to a quasti-newton optimizer.
Python
1
star
72

nix-unsafePlugins

This is unsafe. Don't use it.
C++
1
star
73

gh-util

Github command line utilities
Python
1
star
74

numpy-mypy

Python
1
star