Skip to content

Commit

Permalink
feat: add known hosts
Browse files Browse the repository at this point in the history
  • Loading branch information
OpportunityLiu committed Oct 14, 2023
1 parent f6d06d4 commit d691685
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/shared/markdown/md-parser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,12 @@ const knownHosts = new Map<string, string>([
['moegirl.org.cn', '萌娘百科'],
['bgm.tv', 'Bangumi'],
['fandom.com', 'Fandom'],
['baike.baidu.com', '百度百科'],
['wiki.biligame.com', 'BILIGAME WIKI'],
// 内容平台
['pixiv.net', 'pixiv'],
['bilibili.com', '哔哩哔哩'],
['youtube.com', 'YouTube'],
['weibo.com', '微博'],
['twitter.com', 'Twitter'],
['instagram.com', 'Instagram'],
Expand All @@ -96,6 +99,7 @@ const knownHosts = new Map<string, string>([
['hiccears.com', 'HicceArs'],
['gumroad.com', 'Gumroad'],
['booth.pm', 'BOOTH'],
['dlsite.com', 'DLsite'],
]);

const knownImageExtensions = new Set<string>(['.jpg', '.jpeg', '.png', '.gif', '.webp', '.svg']);
Expand Down

0 comments on commit d691685

Please sign in to comment.