Bonobo-Git-Server
Bonobo-Git-Server copied to clipboard
Relative URLs for linking content in Markdown
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.
Are there any plans to support this or is there no chance at all?
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?)