Discover and create documents from R Markdown templates