An R package containing an RStudio Addin to insert pre-written divs and classes into your Quarto documents.
Why 'quartostamp'? You could physically stamp some pre-prepared type into a literal quarto document; you can digitally stamp some pre-written elements into your qmd file.
See the package website for the full list of available functions and the Quarto website for full Quarto documentation.
Please add requests as GitHub issues, or raise a pull request.
To install this package from GitHub, run the following and then restart RStudio:
install.packages("remotes") # if not yet installed
remotes::install_github("matt-dray/quartostamp")
To use:
Use the help files to learn more about each function. They all start with stamp_
so you can search like ?stamp_notes
.
You can also create custom RStudio keyboard shortcuts for these functions:
Other packages can be used alongside {quartostamp} when writing a document:
##
) to signify a level-two headertags$h2()
will insert <h2></h2>
for a level-two header