Allow mention from a different base url than https://github.com

Fixes #3.