Hi Marc, Wolfgang, Arc, Mario...

The idea of allowing to use linkify with external links has been around in 
my head before.

https://github.com/tobibeer/TiddlyWikiPlugins/issues/23

I have updated the description for that issue.


So, the challenge is twofold...

1) make LinkifyPlugin handle external links (issue 23)

2) also provide pattern matching for that

I guess it might be possible, especially when capturing is being used.

Perhaps from  a configuration point of view it could be handled as 
follows...

http://tracker.com/tickets/%0|(regex-(?:capture))

Not sure how to access such a captured backreference in the formatters 
handler, though.

Also, there'd have to be special handling for external links using 
createExternalLink 
rather than createTiddlyLink. Anyone willing to give it a shot, the most 
relevant code for LinkifyPlugin starts here: 
https://github.com/tobibeer/TiddlyWikiPlugins/blob/master/plugins/LinkifyPlugin.js#L64
Cheers, Tobias. 

On Tuesday, 11 June 2013 13:22:31 UTC+2, PMario wrote:
>
> On Monday, June 10, 2013 10:30:18 PM UTC+2, Arc Acorn wrote:
>>
>> I'm sure a lecture will come from this because it breaks the ability to 
>> upgrade. ^-^;
>>
> :)
> As you wrote, if you modify the core formatters, you may have some ugly 
> unwanted side effects.
>
> I did have a look at tobibeer's LinkifyPlugin  [1] but it can't handle it 
> out of the box.
>
> @tobias
> what do you think?
> -m
>
> [1] http://linkify.tiddlyspot.com/
>

-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to