Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TOC does not appear for sections that occur before the first exercise #24

Closed
garrettgman opened this issue Mar 3, 2017 · 1 comment
Closed

Comments

@garrettgman
Copy link
Member

The table of contents does not appear for a tutorial until you navigate to the first section that has an exercise. You can see the effect in the demo document below:

---
title: "Demo Tutorial"
output: tutor::tutorial
runtime: shiny_prerendered
---

```{r setup, include=FALSE}
library(tutor)
```

## Welcome

This is the Welcome section

## First task

This is the First Task section

## Second Task

This is the Second Task section

```{r one, exercise = TRUE}

```

It prints like this the first time through:

screen shot 2017-03-03 at 2 20 20 pm

screen shot 2017-03-03 at 2 20 23 pm

screen shot 2017-03-03 at 2 20 25 pm

@robbyshaver
Copy link
Contributor

robbyshaver commented Mar 6, 2017

This was caused by a failure to redraw bug in the IDE browser - added a css work around that appears to have fixed it. 689f9b7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants