Learn R Programming

mindr (version 1.4.1)

md2mmd: Convert Markdown headings into a mermaid mindmap

Description

Convert Markdown headings into a mermaid mindmap

Usage

md2mmd(
  from,
  root = "mindr",
  mmd_shape = c("cloud", "rounded_square", "square", "bang", "circle", "hexagon")
)

Value

Mermaid mindmap code chunk

Arguments

from

A vector with Markdown headings

root

Character. The string displayed as the root (center) of the mind map.

mmd_shape

Character vector. The shape of mermaid mindmap nodes. See Mermaid document.