vipzhicheng / logseq-plugin-mark-map

This is a plugin for https://github.com/logseq/logseq to provide mindmap support based on https://github.com/markmap/markmap.
282 stars 7 forks source link

Feature request: Navigate to actual block on page #67

Closed bitbonk closed 7 months ago

bitbonk commented 1 year ago

The mind map visualization is e great tool to navigate and explore a block hierarchy on a page. Especially when the page has many blocks it could be a cool way to find a certain block without having to scroll endlessly - sort of like the table of content of the page.

Please allow me to navigate to a certain block back in the page/editor view by clicking on the block/branch on the mind map.

vipzhicheng commented 8 months ago

I'm not sure if I understand right, please take a look at the plugin settings, to see if this option can solve your needs.

image

You can click the green icon to go to any block page, and then you can press 'q' to exit mind map mode.

bitbonk commented 8 months ago

Ah thank you, I didn't known I could do this. That's what I wanted. Well, almost 😅, once I hit q and exited the mind map mode and had a quick peek at the page, I would like to go back to the mind map mode just at the place where I left it and be able to continue to navigate back and forth. Is this possible too?

vipzhicheng commented 8 months ago

Yes, there is a shortcut can do this: double ctrl+m

fanyangto commented 7 months ago

Ah thank you, I didn't known I could do this. That's what I wanted. Well, almost 😅, once I hit q and exited the mind map mode and had a quick peek at the page, I would like to go back to the mind map mode just at the place where I left it and be able to continue to navigate back and forth. Is this possible too?

I concur with the original post. Yes, the mind map allows navigation on the map. But the original request is to click on a tree node and return back to the logseq editor mode in the selected block location. This way, I can start editing/use the information right away.

Imagine a case the page is very long (several screens long with many sections). There is a need to navigate quickly to the right section for editing or copy & paste the content. You can not do that on the mind map mode.

+1 vote. The alternative is to use a different plugin TOC Generator. But I think if the mind map can also do this, it will make the mind map more valuable.

Great tool by the way.

seal308 commented 7 months ago

But the original request is to click on a tree node and return back to the logseq editor mode in the selected block location.

I think you can already do that? So if I clicked on this blue highlight: blue highlight to get into node

I now jump into the node:

node

Now if I press the Escape key or on the screen the x icon on the top right I get the logseq editor on the block:

after escape key

fanyangto commented 7 months ago

But the original request is to click on a tree node and return back to the logseq editor mode in the selected block location.

I think you can already do that? So if I clicked on this blue highlight: blue highlight to get into node

I now jump into the node:

node

Now if I press the Escape key or on the screen the x icon on the top right I get the logseq editor on the block:

after escape key

You are right! Thank you so much. I missed this entirely.