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

Slidify slides not rendering in browser #519

Open
joehoover opened this issue Feb 13, 2018 · 3 comments
Open

Slidify slides not rendering in browser #519

joehoover opened this issue Feb 13, 2018 · 3 comments

Comments

@joehoover
Copy link

joehoover commented Feb 13, 2018

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
Copy link

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

@khughitt
Copy link

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

@erniux
Copy link

erniux commented Sep 20, 2022

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?

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

4 participants