{"id":17032945,"url":"https://github.com/up9cloud/docsify-mindmap","last_synced_at":"2025-04-12T12:51:20.785Z","repository":{"id":37942500,"uuid":"206195315","full_name":"up9cloud/docsify-mindmap","owner":"up9cloud","description":"Mind map plugin for docsify","archived":false,"fork":false,"pushed_at":"2024-12-01T00:09:05.000Z","size":282,"stargazers_count":9,"open_issues_count":6,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-10T23:17:08.664Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://up9cloud.github.io/docsify-mindmap","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/up9cloud.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":"2019-09-04T00:23:34.000Z","updated_at":"2024-12-01T00:09:08.000Z","dependencies_parsed_at":"2024-09-17T14:32:31.524Z","dependency_job_id":"4763c586-7819-49aa-8852-f632b7970c2c","html_url":"https://github.com/up9cloud/docsify-mindmap","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/up9cloud%2Fdocsify-mindmap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/up9cloud%2Fdocsify-mindmap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/up9cloud%2Fdocsify-mindmap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/up9cloud%2Fdocsify-mindmap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/up9cloud","download_url":"https://codeload.github.com/up9cloud/docsify-mindmap/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248571376,"owners_count":21126517,"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":[],"created_at":"2024-10-14T08:31:06.386Z","updated_at":"2025-04-12T12:51:20.768Z","avatar_url":"https://github.com/up9cloud.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# docsify-mindmap\n\nMind map plugin for [docsify](https://github.com/docsifyjs/docsify).\n\n## Usage\n\n```html\n\u003c!DOCTYPE html\u003e\n\u003chtml\u003e\n  \u003chead\u003e\n    \u003clink rel=\"stylesheet\" href=\"//unpkg.com/docsify/lib/themes/vue.css\"\u003e\n  \u003c/head\u003e\n  \u003cbody\u003e\n    \u003c!-- markmap is based on d3@3, so must load those files first. --\u003e\n    \u003cscript src=\"//unpkg.com/d3@3/dist/d3.min.js\"\u003e\u003c/script\u003e\n    \u003cscript src=\"//unpkg.com/markmap@0.6.1/lib/d3-flextree.js\"\u003e\u003c/script\u003e\n    \u003cscript src=\"//unpkg.com/markmap@0.6.1/lib/view.mindmap.js\"\u003e\u003c/script\u003e\n    \u003clink rel=\"stylesheet\" href=\"//unpkg.com/markmap@0.6.1/style/view.mindmap.css\"\u003e\n\n    \u003cdiv id=\"app\"\u003e\u003c/div\u003e\n    \u003cscript\u003e\n      window.$docsify = {\n        mindmap: {\n          // https://github.com/dundalek/markmap\n          markmap: {\n            preset: 'colorful', // or default\n            linkShape: 'diagonal' // or bracket\n          }\n        }\n      }\n    \u003c/script\u003e\n    \u003cscript src=\"//unpkg.com/docsify@4/lib/docsify.min.js\"\u003e\u003c/script\u003e\n    \u003cscript src=\"//unpkg.com/docsify-mindmap/dist/docsify-mindmap.min.js\"\u003e\u003c/script\u003e\n  \u003c/body\u003e\n\u003c/html\u003e\n```\n\n````md\n# Plain text\n\n```mindmap\nroot\n  topic1\n    subtopic\n  topic2\n    subtopic\n```\n````\n\n````md\n# JSON tree format\n\n```mindmap json-tree\n{\n  \"name\": \"root\",\n  \"children\": [\n    {\n      \"name\": \"topic1\",\n      \"children\": [{ \"name\": \"subtopic\" }]\n    },\n    {\n      \"name\": \"topic2\",\n      \"children\": [{ \"name\": \"subtopic\" }]\n    }\n  ]\n}\n```\n````\n\n\u003e See [demo](http://up9cloud.github.io/docsify-mindmap) for more format\n\n## Dev memo\n\n```bash\nnpm i\nnpm run dev\n```\n\n## TODO\n\n- [ ] Stop d3 resizing\n- [ ] To find another light weight mindmap render engine\n- [ ] Support markmap-lib\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fup9cloud%2Fdocsify-mindmap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fup9cloud%2Fdocsify-mindmap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fup9cloud%2Fdocsify-mindmap/lists"}