项目作者: koncina

项目描述 :
IOSlides Plus
高级语言: R
项目地址: git://github.com/koncina/iosp.git
创建时间: 2016-11-27T11:14:27Z
项目社区:https://github.com/koncina/iosp

开源协议:

下载


IOSlides Plus

The goal of iosp is to extend ioslides_presentation mainly using a customized css.

The main features are:

  • easily create boxes with optional titles in the bootstrap fashion using third level headers (###)
  • adjust the width and horizontal position (offset) of boxes
  • define custom box background colours
  • specify alignment of adjacent boxes (top / middle / bottom)
  • prettier code highlighting
  • easy footer with hyperlink

Installation

You can install iosp from github with:

  1. # install.packages("devtools")
  2. devtools::install_github("koncina/iosp")

Demo template

In Rstudio, create a new Rmd > From template > IOSlides Plus

The following Rmd code

  1. ## Slide with columns and boxes
  2. IOSlides Plus extends `ioslides_presentation` and allows to easily create boxes:
  3. ### Box 1{.box-4 .bg-red}
  4. Test 1
  5. ### Box 2{.box-6 .bg-green}
  6. - line 1
  7. - line 2
  8. ### Box 3{.box-6 .bg-blue}
  9. This box has again a width of 6 col: it will be rendered in a new row.
  10. %end%
  11. We are able to exit the box, column and row using the keyword `%end%`.

will produce the output:

Custom colours

see example with box_colour

see example with box_colour_gallery