docsify-remote-markdown icon indicating copy to clipboard operation
docsify-remote-markdown copied to clipboard

the RegExp is not correrct, it can not match url start with 'http'

Open shuidian opened this issue 3 years ago • 1 comments

the RegExp(\\[${config.tag}\\]\\((http|https://.+)\\)) can not match url that start with http.such as: 'https://raw.githubusercontent.com/docsifyjs/docsify/develop/README.md' the correct RegExp may be like this :RegExp(\\[${config.tag}\\]\\((http://.+|https://.+)\\))

shuidian avatar Oct 18 '21 11:10 shuidian

...or mayve even RegExp(\[${config.tag}\]\((.+)\));

to support local markdowns like './mylocalfile.md'

AlexYegupov avatar Jan 31 '23 10:01 AlexYegupov