parent
7a1fa7a51c
commit
a6330b7966
3 changed files with 3 additions and 3 deletions
|
@ -178,7 +178,7 @@ export class ReadmeProcessor extends BaseProcessor {
|
|||
const repositoryName = match[2].replace(/\.git$/i, '');
|
||||
|
||||
return {
|
||||
content: `https://github.com/${ account }/${ repositoryName }`,
|
||||
content: `https://github.com/${ account }/${ repositoryName }/blob/master`,
|
||||
images: `https://github.com/${ account }/${ repositoryName }/raw/master`
|
||||
};
|
||||
}
|
||||
|
|
2
src/test/fixtures/readme/readme.expected.md
vendored
2
src/test/fixtures/readme/readme.expected.md
vendored
|
@ -26,7 +26,7 @@ The `spellMD.json` config file is watched so you can add more ignores or change
|
|||
|
||||
![issue](https://github.com/username/repository/raw/master/issue)
|
||||
|
||||
[mono](https://github.com/username/repository/monkey)
|
||||
[mono](https://github.com/username/repository/blob/master/monkey)
|
||||
[not](http://shouldnottouchthis/)
|
||||
|
||||
# Install
|
||||
|
|
|
@ -430,7 +430,7 @@ describe('ReadmeProcessor', () => {
|
|||
|
||||
const root = fixture('readme');
|
||||
const processor = new ReadmeProcessor(manifest, {
|
||||
baseContentUrl: 'https://github.com/username/repository',
|
||||
baseContentUrl: 'https://github.com/username/repository/blob/master',
|
||||
baseImagesUrl: 'https://github.com/username/repository/raw/master'
|
||||
});
|
||||
const readme = {
|
||||
|
|
Loading…
Add table
Reference in a new issue