@saltcorn/markmap
v0.1.0
Published
Mark map field-view for Saltcorn
Readme
Mark Map Field View
A simple field view that renders Markdown content as an interactive mind map. Works in Show and List views and supports light and dark modes.
When to use
- Field type: Markdown
- Views: Show and List
Usage
- Ensure your data field is of type Markdown.
- In your Show or List view configuration, select "Markmap" as the renderer for that Markdown field.
- Optionally adjust the configuration (see below).
Configuration
- height: number or CSS size for the map container (default: 400)
- initialExpandLevel: Initial expand level (default: 2)
- fit: true | false — fit to container on load (default: true)
- toolbar: true | false - show/hide toolbar (default: true)
- zoom: true | false (default: true)
- pan: true| false (default: true)
- d3Scheme: List of d3 Categorical schemes
Dark & Light mode
- Auto mode follows the app/system theme.
- Override by setting theme to "light" or "dark".
