Adding an image to title slide using slidify

前端 未结 1 1547
别跟我提以往
别跟我提以往 2020-12-31 08:18

I am using the latest version of Rstudio (and knitr) and I have installed the development version of slidify from github. Slidify allows you to go straight from Rmarkdown to

相关标签:
1条回答
  • 2020-12-31 08:42

    The title-slide in io2012 framework is marked with the class title-slide. So you can customize the slide using css. For example, if you want to specify a background image, you need to add the following css.

      .title-slide {
         background-image: url(http://goo.gl/cF6W2);
       }
    

    You can either add it directly to your Rmd file by enclosing it with <style></style> tags or to a custom css file in assets/css, which will automatically be included when you run slidify.

    Hope this is useful.

    EDIT. If you want to customize the appearance of the title slide further, you can tweak the lines in libraries/frameworks/io2012/layouts/deck.html.

    0 讨论(0)
提交回复
热议问题