Create an HTML page object, which can be passed to other builder functions. This starts a page with the necessary components.
1 2 3 4 5 6 7 8 9 10 11 12 13 14
# Start building an HTML page with the # `start_page()` function page <- start_page() # The page is a simple list object page # The page can be viewed in RStudio # with the `show_in_viewer()` function, # but, let's add some viewable content # first with `p_()`: page %>% p_("**Hello!** This is just text.") %>% show_in_viewer()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.