Tom Mock 11/8/2022

Use R to generate a Quarto blogpost

Read Original

This technical article explains how to write a custom R function that automates the creation of new blog posts for a Quarto-based blog. It details the function's arguments, demonstrates code for generating kebab-case slugs, creating directories, and writing the necessary Quarto YAML front matter, including draft status handling. It's a practical guide for developers using R and Quarto to streamline their blogging workflow.

Use R to generate a Quarto blogpost

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week

1
The Beautiful Web
Jens Oliver Meiert 2 votes
3
LLM Use in the Python Source Code
Miguel Grinberg 1 votes
4
Wagon’s algorithm in Python
John D. Cook 1 votes