mirror of
https://github.com/Jermolene/TiddlyWiki5.git
synced 2026-05-01 01:31:26 -07:00
Support obsidian external link (#7149)
This commit is contained in:
parent
95e6168839
commit
18d3ea9d14
2 changed files with 2 additions and 2 deletions
|
|
@ -127,7 +127,7 @@ var insertMacroCall = function(w,output,macroName,paramString) {
|
|||
|
||||
|
||||
var isLinkExternal = function(to) {
|
||||
var externalRegExp = /(?:file|http|https|mailto|ftp|irc|news|data|skype):[^\s'"]+(?:\/|\b)/i;
|
||||
var externalRegExp = /(?:file|http|https|mailto|ftp|irc|news|obsidian|data|skype):[^\s'"]+(?:\/|\b)/i;
|
||||
return externalRegExp.test(to);
|
||||
};
|
||||
var rules = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue