This commit is contained in:
Joao Moreno 2018-03-19 10:13:20 +01:00
parent c858c8c5bb
commit a8486b7923
4 changed files with 4 additions and 1 deletions

View file

@ -360,7 +360,7 @@ export class MarkdownProcessor extends BaseProcessor {
throw new Error(`Make sure to edit the README.md file before you publish your extension.`);
}
const markdownPathRegex = /(!?)\[([^\]\[]+|!\[[^\]\[]+]\([^\)]+\))\]\(([^\)]+)\)/g;
const markdownPathRegex = /(!?)\[([^\]\[]*|!\[[^\]\[]*]\([^\)]+\))\]\(([^\)]+)\)/g;
const urlReplace = (all, isImage, title, link) => {
const isLinkRelative = !/^\w+:\/\//.test(link) && link[0] !== '#';

View file

@ -20,6 +20,7 @@ The status bar lets you quickly navigate to any issue and you can see all positi
[![Jump to issues](https://github.com/username/repository/raw/master/images/SpellMDDemo2.gif)](http://shouldnottouchthis/)
[![Jump to issues](https://github.com/username/repository/raw/master/images/SpellMDDemo2.gif)](https://github.com/username/repository/blob/master/monkey)
![](https://github.com/username/repository/raw/master/images/SpellMDDemo2.gif)
The `spellMD.json` config file is watched so you can add more ignores or change mappings at will.

View file

@ -20,6 +20,7 @@ The status bar lets you quickly navigate to any issue and you can see all positi
[![Jump to issues](https://github.com/username/repository/path/to/images/SpellMDDemo2.gif)](http://shouldnottouchthis/)
[![Jump to issues](https://github.com/username/repository/path/to/images/SpellMDDemo2.gif)](https://github.com/username/repository/blob/master/monkey)
![](https://github.com/username/repository/path/to/images/SpellMDDemo2.gif)
The `spellMD.json` config file is watched so you can add more ignores or change mappings at will.

View file

@ -20,6 +20,7 @@ The status bar lets you quickly navigate to any issue and you can see all positi
[![Jump to issues](images/SpellMDDemo2.gif)](http://shouldnottouchthis/)
[![Jump to issues](images/SpellMDDemo2.gif)](monkey)
![](images/SpellMDDemo2.gif)
The `spellMD.json` config file is watched so you can add more ignores or change mappings at will.