in src/formatters/links.js [30:39]
export function getSourceUrlTitle(url) {
if (url.includes("github.com")) {
return url.replace(
/[^\d]+\/([^\d]+)\/([^\d]+)\/([^\d]+)\/([^/]+)\/(.*)/,
(_, orgName, repoName, _blob, _hash, path) =>
`${orgName}/${repoName}/${path}`
);
}
return url;
}