Is it possible to skip some slides in the total count in R Markdown?

Viewed 238

In a presentation compiled with R Markdown and xaringan, each slide adds 1 to the cumulative slide count. However, I would like to modify this and make sure that some slides do not affect the cumulative (and total) slide count.

The preamble of the document is:

---
title: "my title"
author: "me myself"
output:
  xaringan::moon_reader:
    css: xaringan-themer.css
    lib_dir: libs
    nature:
      highlightStyle: github
      highlightLines: true
      countIncrementalSlides: false
      ratio: "16:9"
      beforeInit: "macros.js"
---
1 Answers

Just add count: false to the specific slide you do not wish to make part of the counting.

Related