All Projects → gera2ld → Markmap

gera2ld / Markmap

Licence: mit
Visualize your Markdown as mindmaps with Markmap.

Programming Languages

typescript
32286 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Markmap

Mind Elixir Core
Mind-elixir is a framework agnostic mind map core
Stars: ✭ 798 (-69.95%)
Mutual labels:  mindmap
Mindmap Layouts
automatic layout algorithms for mindmaps
Stars: ✭ 103 (-96.12%)
Mutual labels:  mindmap
Xmind
The most popular mind mapping software
Stars: ✭ 1,883 (-29.1%)
Mutual labels:  mindmap
Blink Mind React
A mind map library for react that based on immutable.js.
Stars: ✭ 38 (-98.57%)
Mutual labels:  mindmap
Deeplearning Mindmap
A mindmap summarising Deep Learning concepts.
Stars: ✭ 1,251 (-52.9%)
Mutual labels:  mindmap
Hierarchy
Layout algorithms for visualizing hierarchical data.
Stars: ✭ 110 (-95.86%)
Mutual labels:  mindmap
Machine Learning Mindmap
A mindmap summarising Machine Learning concepts, from Data Analysis to Deep Learning.
Stars: ✭ 5,339 (+101.02%)
Mutual labels:  mindmap
Graphview
Flutter GraphView is used to display data in graph structures. It can display Tree layout, Directed and Layered graph. Useful for Family Tree, Hierarchy View.
Stars: ✭ 152 (-94.28%)
Mutual labels:  mindmap
Vscode Mindmap
view or edit mindmap in VSCode
Stars: ✭ 95 (-96.42%)
Mutual labels:  mindmap
Vscode Blink Mind
a vscode mindmap extention based on blink-mind (https://github.com/awehook/blink-mind)
Stars: ✭ 119 (-95.52%)
Mutual labels:  mindmap
Markdownxiaoshujiang
markdownxiaoshujiang
Stars: ✭ 1,188 (-55.27%)
Mutual labels:  mindmap
Mind Map Set
Set of misc mind maps
Stars: ✭ 80 (-96.99%)
Mutual labels:  mindmap
Butterfly
🦋Butterfly,A JavaScript/React/Vue2 Diagramming library which concentrate on flow layout field. (基于JavaScript/React/Vue2的流程图组件)
Stars: ✭ 2,343 (-11.78%)
Mutual labels:  mindmap
Pi Pwnbox Rogueap
Homemade Pwnbox 🚀 / Rogue AP 📡 based on Raspberry Pi — WiFi Hacking Cheatsheets + MindMap 💡
Stars: ✭ 798 (-69.95%)
Mutual labels:  mindmap
Xmind Sdk Js
The XMind SDK for javascript in browser and Node.js.
Stars: ✭ 143 (-94.62%)
Mutual labels:  mindmap
Assessment Mindset
Security Mindmap that could be useful for the infosec community when doing pentest, bug bounty or red-team assessments.
Stars: ✭ 608 (-77.11%)
Mutual labels:  mindmap
Reactriot2017 Dotamania
🌐 Web scraping made easy with the visual 🗺 mind map editor to JSON
Stars: ✭ 107 (-95.97%)
Mutual labels:  mindmap
Code2sec.com
xmind\code\articles for my personal blog 个人博客上的资源备份存储,也是个人分享的汇总
Stars: ✭ 164 (-93.83%)
Mutual labels:  mindmap
React Mindmap
Full featured mind map app which build with react.js. 一个功能完备且有很多创新的思维导图app。
Stars: ✭ 146 (-94.5%)
Mutual labels:  mindmap
Xmind Sdk Javascript
XMind SDK for javascript (IN BOTH NODE.JS & BROWSERS)
Stars: ✭ 118 (-95.56%)
Mutual labels:  mindmap

markmap

Join the chat at https://gitter.im/gera2ld/markmap

Visualize your Markdown as mindmaps.

This project is heavily inspired by dundalek's markmap.

👉 Try it out.

👉 Read the documentation for more detail.

Packages

Related

Markmap is also available in:

Usage

Transform

Transform Markdown to markmap data:

import { Transformer } from 'markmap-lib';

const transformer = new Transformer();

// 1. transform markdown
const { root, features } = transformer.transform(markdown);

// 2. get assets
// either get assets required by used features
const { styles, scripts } = transformer.getUsedAssets(features);
// or get all possible assets that could be used later
const { styles, scripts } = transformer.getAssets();

Now we are ready for rendering a markmap in browser.

Render

Create an SVG element with explicit width and height:

<script src="https://cdn.jsdelivr.net/npm/d3@6"></script>
<script src="https://cdn.jsdelivr.net/npm/markmap-view"></script>

<svg id="markmap" style="width: 800px; height: 800px"></svg>

Render a markmap to the SVG element:

// We got { root } data from transforming, and possible extraneous assets { styles, scripts }.

const { Markmap, loadCSS, loadJS } = window.markmap;

// 1. load assets
if (styles) loadCSS(styles);
if (scripts) loadJS(scripts, { getMarkmap: () => window.markmap });

// 2. create markmap

Markmap.create('#markmap', null, root);

// or pass an SVG element directly
const svgEl = document.querySelector('#markmap');
Markmap.create(svgEl, null, data);
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].