Skip to content
| Marketplace
Sign in
Visual Studio Code>Visualization>Markmap UniverseNew to Visual Studio Code? Get it now.
Markmap Universe

Markmap Universe

Max Chang

|
87 installs
| (0) | Free
Use mindmaps in Markdown previews with support for hexo-markmap and code blocks.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info
Markmap Universe logo

VS Code Markmap Universe

Version Installs Open VSX Version Open VSX Installs 简体中文

Use mindmap in VS Code's built-in Markdown preview with markmap, seamlessly supporting both hexo-markmap tags and markmap code blocks.

Features

  • Real-time Markmap Preview
  • hexo-markmap Tag Support:
    • Recognize {% markmap %}...{% endmarkmap %} syntax.
    • Provide folding for hexo-markmap tags.
  • Code Block Support:
    • Render fenced code blocks with the markmap language identifier.
  • Customizable Preview:
    • Adjust styles and options via frontmatter.
    • Compatible with remark-markmap and hexo-markmap.
  • Syntax highlighting: (Still have some issues)
    • Highlight Markmap frontmatter and Markdown content.

Usage

hexo-markmap Tags

{% markmap %}
---
markmap:
  colorFreezeLevel: 2
---
# Markdown
# Syntax
{% endmarkmap %}

Code Block

```markmap
---
markmap:
  colorFreezeLevel: 2
---
# Markdown
# Syntax
```

Inline Options

You can customize each mindmap individually in the markmap tag.

Frontmatter Options

All frontmatter options are optional.

  • id : Used to define the ID of the markmap-wrap element.

  • markmap : Correspond to the IMarkmapJSONOptions in the markmap project. For more details, please refer to jsonOptions.

    • alias: options (for backward compatibility)

[!TIP] Difference between markmap and options

  • markmap (from markmap-lib) Preprocesses JSON options (e.g., converting strings to arrays or numbers) and overrides the legacy options.

    • For example, color: 'red' will be converted to color: ['red'], only the latter is valid in markmap-view.
    • ✅ Recommended for consistent use with markmap.
  • options (from markmap-universe) Passed directly to markmap-view.

    • ❌ Not recommended, maintained only for backward compatibility.

Tag Options

You can also specify the height of the mindmap directly in the tag, by default it will be calculated based on the content.

{% markmap 300px %}
# Markdown
# Syntax
{% endmarkmap %}

Configuration

markmap-universe.globalOptions

  • Type: object: Global options for all mindmaps. Correspond to the options in Frontmatter Options.
  • Default: {}

markmap-universe.toolbar

  • Type: boolean: Show the toolbar.
  • Default: true

Credit

References to the following projects:

  • vscode-markdown-markmap
  • markmap-vscode
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft