Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feature] Open link targets in the editor #170

Closed
lofidevops opened this issue Oct 28, 2022 · 3 comments
Closed

[feature] Open link targets in the editor #170

lofidevops opened this issue Oct 28, 2022 · 3 comments

Comments

@lofidevops
Copy link

If I am busy editing alpha.md with the following content:

---
layout: page
title: Alpha
---

If you like Alpha, you'll **love** [Beta](beta.md)

I would like to right-click on beta.md and pick "Edit file" from the context menu. This would close alpha.md and open beta.md in the editor. A keyboard shortcut would also be an option.

This would make it easier to hop between files when there are a large number of files in the folder, and the filenames are not immediately obvious.

@kmwallio
Copy link
Owner

If you have the preview open, I believe clicking the link in the preview should open beta.md for editing.

I'll look into if we can get a right-click menu option working.

@lofidevops
Copy link
Author

FWIW I tried the workflow you mentioned and it didn't work:

  1. Opened a preview of Alpha
  2. Clicked on the link to Beta
  3. Got some "Application is taking a long time" popups
  4. ThiefMD crashed

Let me know if this is worth reporting as a separate issue.

@lofidevops
Copy link
Author

I think this is just a specific instance of #150 (local link rather than hyperlink)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants