customizing slide layouts in slidify

后端 未结 1 1602
孤城傲影
孤城傲影 2021-02-03 13:56

I am interested in using different layouts for different slides within my index.Rmd file. after copying the template provided here and below, I created a .html file in my

相关标签:
1条回答
  • 2021-02-03 15:00

    You can specify a layout for a slide as metadata. For example, if you saved the layout you describe in the question as twocol.html in assets/layouts, then you can specify the layout in the slide level metadata. A & specifies a layout, while a . specifies a class and a # specifies an id. You are also free to define your own custom metadata as key:value pairs.

    --- &twocol
    
    ## Two Columns
    
    *** left
    
    - point a
    - point b
    - point c
    
    *** right
    
    - point a
    - point b
    - point c
    
    0 讨论(0)
提交回复
热议问题