markdown-viewer icon indicating copy to clipboard operation
markdown-viewer copied to clipboard

Wildcard or regex in origin domain

Open bixycler opened this issue 3 years ago • 0 comments

Currently there are only two places can be wildcarded: the protocol *:// and the whole domain *. But for large domains like googlesource.com, there are a lot of subdomains to be listed. So it's better to be able to wildcard some parts of the domain, eg. *.googlesource.com.

Actually I need to exclude all *.googlesource.com from processing markdown because they are serving rendered HTML already. So this issue is related to #133.

The need to wildcard subdomains is not only limited to exclusion cases (with *://*), like *.googlesource.com, but also in inclusion cases (without *://*) where I want to parse markdown for all docs in *.mydomain.com.

bixycler avatar Jul 15 '22 14:07 bixycler