Content R Markdown documents are built into HTML documents and included in the "Pages" dropdown on the website navigation bar. For the default "page view", the final document included in the website will be very similar/identical to what you would get with a normal ad hoc knit of the source document. However, content sources are also built to a "slide view" using the reveal.js template.
For slide view, lists are animated by default:
Top headings (H1) scroll to the right, sub-headings (H2) scroll down. For example:
down...
...floor!
You can also use blank headings to explicitly insert slide transitions
As in this example.
By default, when slides are generated large blocks of text are removed.
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
You can configure the cutoff in courseR.yml
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.