Bonobo-Git-Server icon indicating copy to clipboard operation
Bonobo-Git-Server copied to clipboard

Relative URLs for linking content in Markdown

Open mu88 opened this issue 7 years ago • 2 comments

I'd highly appreciate if there would be a way to link to another file within a Markdown file in a repository by using relative URLs.

Bonobo is able to render Markdown files when opening a repository with the Repository Browser. I want to create a link to another file of the repo using a relative URL, e. g. to CHANGELOG.md. Because of the way Bonobo is built, I can't do this because the resource blob is located before/on top of the repository's GUID. It would be better if resources like blob or commit were located after/under the GUID.

Right now, I'm using absolute URLs which has several downsides. Another option would be to use URL Rewrite rules by analyzing HTTP Referer, which seems quite shaky to me.

mu88 avatar Feb 23 '18 16:02 mu88

Are there any plans to support this or is there no chance at all?

mu88 avatar Mar 15 '18 08:03 mu88

I doubt it, based on a previous issue the author(s) of BonoboGit seem to think that because it's a Git server and not a "doc server" this is not a good thing. Despite every popular Git host on the planet being able to add this.

(On that note, why is Bonobo even bothering to render Markdown files and then not care about this basic feature?)

Sharparam avatar Jun 05 '19 16:06 Sharparam