Last active
August 29, 2015 14:15
-
-
Save yutannihilation/e14b1f5cfdd82e569579 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Soooooooolarized!!!!! | |
======================================================== | |
author: Hiroaki Yutani | |
date: 2015/2/11 | |
font-import: http://fonts.googleapis.com/css?family=Bangers | |
css: solarized_with_webfont.css | |
solarized | |
======================================================== | |
## Solarized is a color scheme | |
> Solarized is a sixteen color palette (eight monotones, | |
> eight accent colors) designed for use with terminal and | |
> gui applications. (http://ethanschoonover.com/solarized) | |
## reveal.js can go solarized | |
Several themes are available in [reveal.js](http://lab.hakim.se/reveal-js/) by default; Our beloved solarized is off cource included! The CSS is [here](https://github.com/hakimel/reveal.js/blob/master/css/theme/solarized.css) | |
Bangers | |
============================================== | |
This is a web font by google. | |
https://www.google.com/fonts#UsePlace:use/Collection:Bangers | |
Be careful, importing font in CSS files seems not to work(I don't know why). | |
```css | |
@import url(https://fonts.googleapis.com/css?family=Bangers); | |
``` | |
Whether you use webfonts with custom CSSs or not, you have to import | |
at the first slide using `font-import` like this: | |
```yaml | |
font-import: http://fonts.googleapis.com/css?family=Bangers | |
``` | |
Syntax Highlighting And Tables | |
======================================================== | |
```{r} | |
library(broom) | |
library(knitr) | |
library(magrittr) | |
lmfit <- lm(mpg ~ wt, mtcars) | |
tidy(lmfit) %>% kable | |
``` | |
If "type: section" is specified, a slide has a different looks. | |
======================================================== | |
type: section | |
"type: prompt" is like this | |
========================================================= | |
type: prompt | |
End | |
========================================================== | |
Source code is here: https://gist.github.com/yutannihilation/e14b1f5cfdd82e569579 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment