Skip to content
Prev 8223 / 21312 Next

[Bioc-devel] Bioconductor Workflows: TOC and displaying document details

Hi Aaron, Dan,

thank you for reporting this! When I suggested adding the TOC I didn't
realize that the md_document() doesn't output it hyperlinked - my fault!

I was also surprised to find out that there is no easy fix for it as there
is no option for this in pandoc/rmarkdown.

However, I already have a working solution based on extending the
md_document() function, which builds on the suggestion from
http://stackoverflow.com/questions/29997263/linked-table-of-contents-toc-in-md-using-rmarkdown,
and I will incorporate it into BiocStyle. This will also facilitate the use
of BiocStyle-specific helper functions withing workflow vignettes (e.g.
ones for automatically adding links to packages like Biocpkg) in a similar
fashion as in BiocStyle::html_document()  without the need of explicitly
loading BiocStyle.

I just need to test and polish the code - I will communicate with Dan
off-list to resolve the TOC issue.

Cheers,
Andrzej

On Thu, Oct 22, 2015 at 6:39 PM, Dan Tenenbaum <dtenenba at fredhutch.org>
wrote: