Create a new blog post
create_post( title, collection = "posts", author = "auto", slug = "auto", date = Sys.Date(), date_prefix = date, draft = FALSE, edit = interactive() )
Collection to create the post within (defaults to "posts")
Post author. Automatically drawn from previous post if not provided.
Post slug (directory name). Automatically computed from title if not provided.
Post date (defaults to current date)
Date prefix for post slug (preserves chronological order for posts
within the filesystem). Pass
Mark the post as a
Open the post in an editor after creating it.
This function must be called from with a working directory that is within a Distill website.