-
-
Notifications
You must be signed in to change notification settings - Fork 969
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
Enhancement Request: Allow for Themes in RNotebooks #864
Comments
Just a minor correction: that was not my site, but @yixuan's :) |
You can use the "theme" option as described by @yixuan in his post. He goes on to describe how to create a more lightweight document that's Hopefully what you are looking for is taken care of by the "theme" option On Thu, Nov 10, 2016 at 9:06 AM, digital-dharma notifications@github.com
|
Yeah, |
Thanks @jjallaire @yixuan for the rapid response. I may be misunderstanding what is possible. In your site, you provide the following YAML header:
If I create a RNotebook with this header however, it seems to consider itself a Knitr document and the 'Preview Notebook' button disappears. Essentially, what I am looking for is a way to ensure that the HTML generated automatically by RNotebooks respects whatever theme is provided in the header (And the bootswatch themes described on the site are great). Is this possible? |
Oh I see. Look at this line:
This is why the preview button disappears. You should change it to
But remember that the options of the
Themes provided by the |
@yixuan - You nailed it, that was the problem. Thanks to everyone for all their help! |
This old thread has been automatically locked. If you think you have found something related to this, please open a new issue by following the issue guide (https://yihui.org/issue/), and link to this old issue if necessary. |
Background
The fantastic RNotebooks functionality automatically creates a .html file from an RMarkdown document. This HTML file can be shared with R programmers and non R-programmers alike, and include both raw code as well as an general narrative around the analysis being performed.
@yihui 's site describes how RMarkdown can be augmented to produce documents with an aesthetically pleasing theme.
Problem
It does not appear that RNotesbooks support this usage of themes.
Request
RNotebooks provide a tremendous methodology for dissemination of analytics. Ensuring they support themes in the generation of HTML output would be a fantastic addition.
The text was updated successfully, but these errors were encountered: