Hi Mario,

I'm not sure what is being compared here. When you say 'prettylink', do you 
mean the native prettylink ability, the ability to force a title inline or 
??

I think using your macro (renamed as unilink) with the prettlink.js script, 
possibly configurable (though I don't know why someone would turn it off) 
and rolled as a plugin would be good.  

Thanks!
Mark

On Tuesday, June 20, 2017 at 5:48:56 AM UTC-7, PMario wrote:
>
> On Monday, June 19, 2017 at 10:47:31 PM UTC+2, Mark S. wrote:
>>
>> The problem with Tobias' macro in this context, in addition to probable 
>> performance issues (it uses both list and regex), is that it can be broken 
>> if a person, for instance, clones a tiddler and forgets to update the alias 
>> field. At that point a linker using his macro will pick one of 2 possible 
>> sites (whichever the regex finds first) and link to it. 
>>
>
> Good point. ... didn't think about it. 
>
> I did play a bit more with it and did create a new parser plugin 
> containing the "uni-link" type makro. If done that way, it can be enabled 
> and disabled with the TW control panel. The idea at the moment is: the 
> plugin would automatically disable "prettylink"
>
> On the other hand, if both "prettylink" and "unilink" parser are active 
> "prettylink" will win, since they are sorted and executed alphabetically.
>
> What do you think? ... Relace "prettylink" or create a new one and play an 
> "enable" / "disable" settings game. 
>
> Also @Stuart what would you prefer?
> -m 
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/704745c6-ae71-488c-9c0c-4378eaef15ff%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to