I would like to use the bookdown @ref(fig:example) style cross references in a R vignette. But I'm not sure how to set this up. I'm guessing, I need to add bookdown
to the suggests in my package, and then add something to the YAML. I currently have:
---
title: "Dongle: A lightweight interface between EI, EA and AS processes and
the Presentation Process"
author: Russell G. Almond
output: rmarkdown::html_vignette
bibliography: Proc4.bib
link-citations: TRUE
vignette: >
%\VignetteIndexEntry{Proc4 Dongle}
%\VignetteEngine{knitr::rmarkdown}
%\VignetteEncoding{UTF-8}
---
How do I need to tweak this to add the cross-referencing ability? I still want the html_vignette output format, but I want to add the cross references?