Create a collapsible single-panel accordion containing a markdown file
Source:R/utils_utilities.R
info_accordion.RdCreates a collapsible single-panel bslib accordion displaying the contents of a markdown file, with an info icon.
content_file is a package-relative path (everything after inst/),
resolved with app_sys() (defined in app_config.R, not exported by
golem). It is deliberately not a www/ URL like image srcs are:
the markdown is read from disk by R and rendered into the HTML server
side, so the browser never requests it and it needs no resource path.
Hence the files live in inst/app/md/, outside the publicly-served
inst/app/www/.