Add support for non-github.com URLs #1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I'm using mdbook for a project located on a self-hosted GitLab instance. I see no reason why
github.comis a mandatory part of the link; perhaps a debug warning could be printed instead of returning early?Adding support for other Git hosts also means that the link text should be configurable. Happy to contribute a PR if you consider these changes to be within scope for this project!
Closing this as I solved it in my fork. My solution isn't particularly clean but you're welcome to incorporate the changes here. Have tried to credit you incl. the copyright notice, let me know if there's any issues!