MangoTheCat / rmdshower

R Markdown template for shower
http://mangothecat.github.io/rmdshower/skeleton.html
Other
147 stars 42 forks source link

Defaults and ari compatibility #41

Open noamross opened 6 years ago

noamross commented 6 years ago

In getting rmdshower to work with ari, I came across two small tweaks to options that I think would be useful:

  1. numbered anchors: Currently slides have title-based anchors (slides.html#introduction). I think numbered anchors are better for slideshows (slides.html#1), and for ari they are required to advance the slides. This can be changed by removing the auto_identifiers option from pandoc markdown. I would just make this default behavior.

  2. base presentation view: shower slides control whether default view is the overview of slides or the first slide by switching between <body class="shower list"> and <body class="shower full">. I would add an option to shower_presentation(), base_view, with "list" as default but also taking "full". ari also needs full view.

Happy to do a PR with these if you agree and are still maintaining the package.