renerocksai / sublimeless_zk

A note taking app, Markdown editor, and text browser, featuring ID based wiki style links, and #tags, intended for zettelkasten method users. Loaded with tons of features like sophisticated tag search, note transclusion, support for note templates, bibliography support, etc. to make working in your Zettelkasten a joy 😄
GNU General Public License v3.0
197 stars 24 forks source link

view local images #44

Open 517qf opened 6 years ago

517qf commented 6 years ago

Many of my notes contain links to images (a lot of diagrams) I saved locally. It would be great if I could preview them quickly. I doubt that you could implement the same feature from sublimeZK which show the images inside the buffer. Though is my preferred method there are good alternatives.

I don't know how. If I browse my zettelkasten I (like probably most people?) work a lot with the mouse. So you should be able to trigger the image preview with the mouse?

Maybe like this: notepad++ detects http links and makes them clickable. Maybe there is some module that can be reused so that clicking a markdown link that contains a link with a relative path opens the image in the default viewer for this file type (or maybe even in the side bar?).

renerocksai commented 6 years ago

i can show images inline, but the feature is disabled, because it has some issues with scrolling, plus, it needs to insert lines to make room for the images. i will work on that, maybe an alternative with an image preview overlay/side-bar/... 😉 but that takes some time...

517qf commented 6 years ago

That would be fantastic. Waiting a couple of months is not a problem.

I think such a feature might be of general interest. Most markdown notetaking software doesn't support inline image preview: This is supported in Typora or Abricotine but both programs don't offer any wiki functionality. There is bear for mac but it's only for mac. and emacs markdown-mode is emacs ... for VSCode I didn't find anything. For the atom editor there's an addon that no one uses, see here. Maybe I overestimate the general interest ...

Thanks for the encouraging reply.

renerocksai commented 6 years ago

BTW: You missed: SublimeText 😄. It can show images inline. You might have seen, there is a (cough, cough) sublime_zk package somewhere on github 😄. I fully agree with you: Inline image preview is an awesome feature and I don't want to miss it! It will come....

517qf commented 6 years ago

Ich weiß - als ich nach sublime_zk suchte, bin ich am Wochenende aus Versehen hierhin gekommen ....

Eine Bildvorschau ist auch einer der wesentlichen Aspekte, die ich an sublime_zk schätze - zu Weihnachten habe ich sogar nach der Per image preview size gefragt (nochmals vielen Dank für die schnelle Implementierung).

Außerdem bin ich für die letzten issues zu sublime_zk verantwortlich ... : indent nested headings, indent multi-line lists und option to hide markup

renerocksai commented 6 years ago

👍 👍 👍 Danke für die wertvollen Tipps und Vorschläge! Bin zur Zeit etwas unter Wasser, checke nicht immer gleich, wer wer ist.

cpp commented 6 years ago

Neben Bildern wäre langfristig auch eine Erweiterung um LaTex Formeln und Checklisten super. https://github.com/marktext/marktext ist dafür ein gutes Beispiel.

ngirard commented 5 years ago

Hi and thanks for your efforts in writing this very promising program and releasing it as free software!

Hopefully this feature gets implemented... it's a blocker for me...

quesada commented 4 years ago

I would love this feature too. Happy to donate.