ramnathv / slidify

Generate reproducible html5 slides from R markdown
http://www.slidify.org
844 stars 338 forks source link

Slidify slides not rendering in browser #519

Open joehoover opened 6 years ago

joehoover commented 6 years ago

I think I am running into the same issue as issue #498. However, when I try adding:

lib_cdn: "https://cdn.rawgit.com/ramnathv/slidifyLibraries/master/inst/libraries"

the problem is not resolved.

To be clear: my slides render in RStudio preview, but not when I pop into browser. When I run slidify(), I observe the same problem: just a blank white screen.

It would be really nice to get this working; otherwise, I'll need to convert to a different framework in a very short time period (I'm reusing an old deck for an updated presentation).

Thank you!

UPDATE: I also tried downloading the directory you mention in #498 and load that instead of the git directory, however that produces the same behavior. Also, this is all with mode: selfcontained. When I switch to standalone, everything, including the RStudio preview, is blank.

UPDATE 2: I have also tried publishing to git and then downloading the directory. Still the same behavior.

I also noticed that the the source for the HTML is present, however it is just not rendering.

UPDATE 3: My git repo is here: https://github.com/joehoover/testdeck/tree/gh-pages

UPDATE 4: I am now able to view the presentation in a browser. And, I am able to open and view the index.html file generated by slidify(). However, I am developing on a remote machine. When I download the deck directory, I still see a blank html file (even though the html code is present). Note, I can only preview in browser when mode: selfcontained.

martinrichardson123456 commented 6 years ago

Hi, did you ever solve this? I think I'm having the same issue.

khughitt commented 5 years ago

In case it helps others, removing the assets/templates directory, as suggested here worked for me.

erniux commented 2 years ago

Hello, I am working with slidify and cloud Rstudio, the think is that the slides are shown as plain text, this is my file:


---
title       : pitch in slidify
subtitle    : Data Products Class Project
author      : E. Tercero
framework   : deckjs        # {io2012, html5slides, shower, dzslides, ...}
highlighter : highlight     # {highlight.js, prettify, highlight}
hitheme     : tomorrow      # 
widgets     : [mathjax, bootstrap]            # {mathjax, quiz, bootstrap}
mode        : selfcontained # {standalone, draft}
knit        : slidify::knit2slides
lib_cdn: "/media/joe/8242eee1-0a41-405f-bc24-3bd277cfda39/git_repos/slidifyLibraries/inst/libraries/"
---

## Read-And-Delete

1. Edit YAML front matter
2. Write using R Markdown
3. Use an empty line followed by three dashes to separate slides!

--- .class #id

## Slide 2
```{r}
rnorm(6)

When open te HTML generates it is only plain text, could you please help?