{"id":13783430,"url":"https://github.com/vipzhicheng/logseq-plugin-mark-map","last_synced_at":"2025-12-27T11:58:44.580Z","repository":{"id":37268013,"uuid":"388801252","full_name":"vipzhicheng/logseq-plugin-mark-map","owner":"vipzhicheng","description":"This is a plugin for https://github.com/logseq/logseq to provide mindmap support based on https://github.com/markmap/markmap.","archived":false,"fork":false,"pushed_at":"2024-06-22T17:12:30.000Z","size":7618,"stargazers_count":287,"open_issues_count":19,"forks_count":7,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-11-17T20:47:06.010Z","etag":null,"topics":["logseq-plugin"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vipzhicheng.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-07-23T12:54:35.000Z","updated_at":"2024-11-15T23:42:02.000Z","dependencies_parsed_at":"2024-06-18T04:13:03.715Z","dependency_job_id":"76697ce9-58a6-4ed1-9c74-907fc8374458","html_url":"https://github.com/vipzhicheng/logseq-plugin-mark-map","commit_stats":null,"previous_names":[],"tags_count":59,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vipzhicheng%2Flogseq-plugin-mark-map","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vipzhicheng%2Flogseq-plugin-mark-map/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vipzhicheng%2Flogseq-plugin-mark-map/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vipzhicheng%2Flogseq-plugin-mark-map/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vipzhicheng","download_url":"https://codeload.github.com/vipzhicheng/logseq-plugin-mark-map/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253620947,"owners_count":21937446,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["logseq-plugin"],"created_at":"2024-08-03T19:00:21.289Z","updated_at":"2025-12-27T11:58:44.569Z","avatar_url":"https://github.com/vipzhicheng.png","language":"TypeScript","funding_links":["https://www.buymeacoffee.com/vipzhicheng"],"categories":["🔌 Plugins","others"],"sub_categories":[],"readme":"[:coffee: Get me a coffee](https://www.buymeacoffee.com/vipzhicheng) if you like this plugin!\n# Logseq Markmap Plugin\n\n[![Github All Releases](https://img.shields.io/github/downloads/vipzhicheng/logseq-plugin-mark-map/total.svg)](https://github.com/vipzhicheng/logseq-plugin-mark-map/releases)\n\n**_Basic shortcuts_**\n\n![Screencast1](./screencast1.gif)\n\n**_Traverse level by level and step by step_**\n\n![Screencast2](./screencast2.gif)\n\n**_Focus in and out_**\n\n![Screencast3](./screencast3.gif)\n\nThis is a plugin for [Logseq](https://github.com/logseq/logseq) to provide mindmap support based on [Markmap](https://github.com/gera2ld/markmap).\n\n## Installation and Usage\n\n```\nnpm install\nnpm run build:prod # For real\nnpm run build # For development\n```\n\nLoad unpack plugin from `dist` directory\n\n## Stack\n\n- Typescript\n- TailwindCSS\n- Vue\n- Markmap related packages\n\n## Version at least\n\nLogseq v0.8.12+\n\n## Features\n\nMost of features come from `Markmap` project.\n\n- Colorful markmap items.\n- Markmap toolbar included.\n- Support inline code and code block.\n- Support inline text styles.\n- Support normal links.\n- Support inline latex syntax.\n- Support mouse drag and drop, double click, scrollwheel zoom.\n- Provice many convenient shortcuts.\n- Support dark mode, and up to 16 themes.\n- Support Logseq block reference and page reference and page tag.\n- Support highlight syntax `==` for Markdown, `^^` for Org mode.\n- Workflow tags are Colorized.\n- Image partly supported, will be converted to image link.\n- Mainly support `Markdown` mode, `Org` mode partly supported.\n- Support trigger markmap in block page.\n- Support open next markmap in markmap.\n- Support node anchor to pick sub tree as the next markmap.\n- Support export as PNG and SVG.\n- Support pen mode, so you can draw on markmap.\n\n## Notes\n\n- The mindmap is not editable.\n- Properies are ignored.\n- Text length is unlimited.\n- `#` head markdown syntax is ignored, use hierarchical blocks instead.\n- Hiccup not supported.\n- Tested on Logseq `v0.6.5`.\n\n## Shortcuts\n\nThere are so many shortcuts for each action.\n\n### Markmap related\n\n- `shift+1`: Switch back to page view.\n- `shift+2`: Switch to hierarchy view.\n- `shift+3`: Switch to linked references view.\n- `space`: fit window in center in case you move or zoom it.\n- `0`: hide all except the central one.\n- `9`: show all.\n- `1`: expand to level 1.\n- `2`: expand to level 2.\n- `3`: expand to level 3.\n- `4`: expand to level 4.\n- `5`: expand to level 5.\n- `+`: zoom in.\n- `-`: zoom out.\n- `h`: level up.\n- `l`: level down.\n- `j`: expand step by step.\n- `k`: collapse step by step.\n- `.`: focus in to children level.\n- `b`: focus out to parent level.\n- `,`: reset to original tree.\n- `n`: focus to next sibling.\n- `p`: focus to previous sibling.\n- \u003ccode\u003e`\u003c/code\u003e: random change theme.\n- `mod+b`: reset theme according to Logseq theme.\n- `ESC` \u0026 `q`: close the mindmap.\n- `UP`: move mindmap up.\n- `DOWN`: move mindmap down.\n- `LEFT`: move mindmap left.\n- `RIGHT`: move mindmap right.\n- `cmd+[`: go backward.\n- `cmd+]`: go forward.\n- `/`: popup keybindings help model.\n\n## Markmap trigger\n\n- `m m`: trigger Markmap for non-editing mode, show currennt block and children when editing or highlighting, otherwise show all page blocks.\n- `ctrl+m ctrl+m`: trigger Markmap for editing mode, show current block and children.\n- `/Markmap` slash command: to trigger markmap for current block and children.\n- `Markmap` contextual menu item: to trigger markmap for current block and children.\n- Icon Button: to trigger markmap for current page.\n- ·ctrl+alt+shift+m ctrl+alt+shift+m`: to trigger markmap for current page, like the icon.\n\n## Markmap properties\n\n### Page properties\n\n- `mark-map-title:: blahblah`, to change the mindmap center node different from page title.\n- `mark-map-collapsed`, a page property.\n  - Without this property, mindmap will follow Logseq blocks collapsed state by default.\n  - `mark-map-collapsed:: hidden`, to hide Logseq collapsed blocks on mindmap.\n  - `mark-map-collapsed:: extend`, ignore Logseq blocks collapsed state, extend all nodes on mindmap.\n- `mark-map-limit:: N`, to limit first level block list items.\n- `mark-map-limit-all:: N`, to limit all block list items.\n\n### Block properties\n\n- `mark-map-display:: hidden`, a block property, to hide the block.\n- `mark-map-cut:: 30`, a block property, to limit mindmap node text length.\n- `mark-map-limit:: N`, to limit block next level block list items.\n\n## Markmap settings\n\n- `theme`: to select your favorite theme, if you choose auto, then it will decide to use dark or light by Logseq's theme.\n\n## Contribution\n\nIssues and PRs are welcome!\n\n## Buy me a coffee\n\nIf my plugin solve your situation a little bit and you will, you can choose to buy me a coffee via [this](https://www.buymeacoffee.com/vipzhicheng) and [this](https://afdian.net/@vipzhicheng).\n\n## Licence\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvipzhicheng%2Flogseq-plugin-mark-map","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvipzhicheng%2Flogseq-plugin-mark-map","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvipzhicheng%2Flogseq-plugin-mark-map/lists"}