md2mmd: Convert Markdown headings into a mermaid mindmap

View source: R/individual.R

md2mmdR Documentation

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")
)

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.

Value

Mermaid mindmap code chunk


mindr documentation built on Dec. 20, 2025, 1:06 a.m.

Related to md2mmd in mindr...