Open christian-million opened 2 years ago
I would also really like some capacity to add this feature!
I made an RStudio new post addin for {distill} through the {distilltools} package awhile back (inspired by {blogdown}). Just mentioning it here since Quarto is a spiritual successor to {distill}, so some of the work there might be helpful in the implementation for this package. Here’s the relevant PR.
A function and/or RStudio Addin that allows users to create the skeleton for a new blog post. I used the
new_post
functionality inblogdown
a lot and would love to incorporate a quarto version into my workflow.Quarto comes with a "website:blog" project type, which signals a common-enough use case for this kind of functionality. For now, it could just create a new post in the
posts
directory (by default). Eventually it might use a dedicated "website:blog" yaml parameter to indicate which directory the new post should be located in?Something like: (using
quarto-web
directory as example)and then
quarto::new_post("my_new_post")
would createdocs/blog/posts/my_new_post/index.qmd