make_tabs_shortcode.Rd
Write a shortcode to create tabs from a (nested) list.
make_tabs_shortcode(
content,
tabsets = content,
chunkname,
output_function = show,
target_classes = c("ggplot", "kable"),
depth
)
List (of lists) containing content to include in a tab
List (of lists) containing keys of the content
list (not of lists)
Character name of the output tabset
Function used to print/plot/etc
Set of classes that cause output_function
to run
Number of elements to traverse before output_function
is run
A character vector for the shortcode to include in the markdown.
It would be better to not use tabsets
and convert a list's indexes into a nested list structure.