For org-mode links, I think this may require that the
hyperdrive-org-link-follow
be earlier in theorg-link-parameters
alist than any other handler for links without a specified type.Also make sure that relatives links in other file types work, specifically:
- [X] orgmode
- [ ] markdown
- [X] HTML
For markdown links, we may want to work with the
markdown-mode
maintainer, Jason Blevins, to make it easier to hook intomarkdown--browse-url
.
Posted an issue inquiring about and volunteering to implement it on the
markdown-mode
repo: https://github.com/jrblevin/markdown-mode/issues/780
Pinged the maintainer again.
Implemented in ae08015b. See #154 about supporting link targets in Markdown relative file links.
I can't find any way to upload an image to a comment here, so I put this on Imgur: https://i.imgur.com/gu1Jfi8.png That shows the files and directories I've used to test that the
markdown-mode
relative link code works (using currentmaster
ofhyperdrive
and mywip/extensible-follow-links
branch ofmarkdown-mode
).It all seems to work, so I'll submit the PR to
markdown-mode
now.
Thank you!!
Shohei Yoshida merged Adam's PR! https://github.com/jrblevin/markdown-mode/pull/808 Thank you!!!