Description Usage Arguments Note Examples
Create a basic skeleton for a Radix website or blog. Use the create_website()
function for a website and the create_blog()
function for a blog.
1 2 3 | create_website(dir, title, gh_pages = FALSE, edit = interactive())
create_blog(dir, title, gh_pages = FALSE, edit = interactive())
|
dir |
Directory for website |
title |
Title of website |
gh_pages |
Configure the site for publishing using GitHub Pages |
edit |
Open site index file or welcome post in an editor. |
The dir
and title
parameters are required (they will be prompted for
interatively if they are not specified).
1 2 3 4 5 | ## Not run:
library(radix)
create_website("mysite", "My Site")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.