- Run the new-deck src block once to start.
- Go to the test-deck slides subtree, edit as desired, and export
with the
ravel-markdown
backend (C-c C-e C-s r m
). - Go to the run-slidify src block and run the code there.
- Repeat 2 and 3 as needed.
library(slidify)
author("test-deck",open_rmd=FALSE,use_git=FALSE)
#+BEGIN_EXPORT MD ... #+END_EXPORT
block contains yaml headerEXPORT_FILE_NAME
needs to be in test-deck dirEXPORT_OPTIONS
needstoc:nil
or html creation will barf#+MD: ---
terminates slides (not needed at the very end)ox-ravel.el
needs to be loaded- export using the
ravel-markdown
backend, e.g.C-c C-e C-s r m
sqrt(2)
sqrt(3)
Borrowed this code from example(image)
:
# A prettier display of the volcano
x <- 10*(1:nrow(volcano))
y <- 10*(1:ncol(volcano))
image(x, y, volcano, col = terrain.colors(100), axes = FALSE)
contour(x, y, volcano, levels = seq(90, 200, by = 5),
add = TRUE, col = "peru")
axis(1, at = seq(100, 800, by = 100))
axis(2, at = seq(100, 600, by = 100))
box()
title(main = "Maunga Whau Volcano", font.main = 4)
<<image-plot>>
this last slide had no headline
slidify("my.Rmd")