-
Notifications
You must be signed in to change notification settings - Fork 239
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
Include learnr in Shiny Application #528
Comments
How are you trying to include the tutorial? I would recommend an iframe of the tutorial within your shiny application. While the tutorial can not communicate with the shiny app, it is the easiest way to get the tutorial within the application. |
Hi Schloerke, thanks for the reply. I'm including the tutorial by firstly converting the Rmd file into md file. And it raise the error requiring the use of shiny_prerendered (which the Rmd already set the runtime as shiny_prerendered). For your suggestion using iframe, are you suggesting to first deploy the tutorial in an location and access it using the URL? Thank you very much for your comment. |
This is a function to render raw markdown, not
Correct. If you'd like a dynamic tutorial location, you can use a |
Thanks for your advice, appreciate that. |
Hi @C4caesar, |
You can certainly make the tutorial appear to be included seamlessly by styling the |
Dear all,
I'm creating a shiny application. I want to include a learnr tutorial in my shiny application, however, I got an error of "Tutorial exercises require the use of 'runtime: shiny_prerendered'". My rMarkdown for the learnr already use runtime: shinyprerendered.
Could someone explain what happen here and what is the solution? Thank you very much.
Best regards,
C4caesar
The text was updated successfully, but these errors were encountered: