Skip to contents

Creates a collapsible single-panel bslib accordion displaying the contents of a markdown file, with an info icon.

Usage

info_accordion(title = "Instructions", content_file, ...)

Arguments

title

the desired title of the accordion panel

content_file

the path to a markdown file

...

other arguments to accordion()

Value

a bslib::accordion html element

Examples

if (FALSE) { # \dontrun{
  # Used inside a Shiny UI function
  info_accordion("Instructions", "path/to/instructions.md")
} # }