Skip to contents

This function creates a list of the dependencies of this chapter.

Usage

bm_fn_chapter_dependencies(
  x,
  id = NULL,
  divClass = "bm-chapterDependencies",
  prefix = "",
  suffix = ""
)

Arguments

x, id

These are two default arguments that all {bookmark} functions must have. As x, an object is passed with class "bm_prepared_book", containing the bookmarked data and each chapter's contents. As id, the identifier of the current chapter (i.e. where the {bookmark} function is encountered) is passed (a function can choose to ignore this).

divClass

The class to pass to the <div> element containing the result.

prefix, suffix

The prefix and suffix to insert before and after the result (but within the containing <div>).

Value

A character vector with the result.