Edit title slide of R Markdown Slidy Presentation

后端 未结 2 1580
一个人的身影
一个人的身影 2021-02-04 19:51

Is there a way to edit the title slide of a R Markdown Slidy Presentation? I am able to add the header, footer, and custom css:

title: \"Slidy Template\"
author:         


        
2条回答
  •  囚心锁ツ
    2021-02-04 20:23

    You can modify the part about title page in the pandoc slidy template, also found with pandoc -D slidy.

    $if(title)$
    

    $title$

    $if(subtitle)$

    $subtitle$

    $endif$

    $for(author)$$author$$sep$
    $endfor$

    $if(date)$

    $date$

    $endif$
    $endif$

    Save the resulting file as default.slidy in your pandoc template directory :

    $HOME/.pandoc/templates (unix)
    C:\Documents And Settings\USERNAME\Application Data\pandoc\templates (windows XP)
    C:\Users\USERNAME\AppData\Roaming\pandoc\templates (windows 7)
    

提交回复
热议问题