I would like cross-reference figures in rMarkdown, and pandoc-crossref seems to be a common solution (see here). The instructions on pandoc's Github page say:
Assuming you already installed Haskell platform, you can install pandoc-crossref with cabal:
cabal update
cabal install pandoc-crossref
So I installed Haskell from here. However, when I try to run cabal update
in the GHCi terminal, I just get an error:
So, how do I install pandoc-crossref?