Create a mind map in HTML widget
markmap(
from = ".",
root = NA,
input_type = c("auto", "markdown", "mindmap", "R", "dir"),
md_list = FALSE,
md_eq = FALSE,
md_braces = FALSE,
md_bookdown = FALSE,
md_maxlevel = "",
dir_files = TRUE,
dir_all = TRUE,
dir_excluded = NA,
widget_name = NA,
widget_width = NULL,
widget_height = NULL,
widget_elementId = NULL,
widget_options = markmapOption(preset = "colorful")
)HTML widget object.
Character. The source text of the (R) Markdown syntax text, the R code, the FreeMind mind map code, or the path to the directory.
Character. The string displayed as the root (center) of the mind map.
Character. The type of the input text. It can be 'auto', 'markdown', 'mindmap', 'R', 'dir'. The default value is 'auto', which means the type will be automatically assigned according to the features of the input text.
Logical. whether to process lists like headings in the Markdown input.
Logical. Whether to include LaTeX equations in the Markdown input when converted to other formats.
Logical. Whether to remove #ID in the headings of the markdown file (usually in a bookdown> project.
Logical. Whether the R Markdown syntax text is in bookdown style, i.e. # (PART), # (APPENDIX), and # References as an upper level of the Level 1 heading.
Integer or ''. The maximum level of the markdown headings that are displayed in the mind map.
Logical. Whether to include files. If FALSE, only folders are included. If TRUE, folders and files are included.
Logical. Whether to include all files in a directory. If FALSE, only the names of visible files are included (following Unix-style visibility, that is files whose name does not start with a dot). If TRUE, all file names will be included.
Character. The directories which are not included in the output.
Character. The name of the html widget.
Numeric. The width of the widget.
Numeric. The height of the widget.
Character. The ID of teh Widget.
List. Options for the markmap widget. It should be a list passed from the markmapOption() function.
This function, adapted from the Rmarkup package, creates a markmap widget using htmlwidgets. The widget can be rendered on HTML pages generated from R Markdown, Shiny,or other applications.