jumpingrivers / namer

R package :package: for labelling chunks of RMarkdown files! :boom:
https://jumpingrivers.github.io/namer/
Other
94 stars 11 forks source link

Customize naming pattern #34

Open fisher-j opened 2 years ago

fisher-j commented 2 years ago

Rmd filenames may be more verbose than desired for chunk labels. It would be nice to be able to specify a regex for extracting labels from filenames. For instance, for rmarkdown websites, files are named with preceding numbers to specify rendering order. I would like to omit these from lables to shorten them somewhat.