Zim

Paste links into wiki

Asked by Daniel

I have a tool that creates links directly to a text file. Something like this:

[[file:/a/b/myFile1.txt| my file 1 ]]
[[file:/a/b/myFile2.txt| my file 2 ]]
[[file:/a/b/myFile2.txt| my file 3 ]]

I would like to past this into Zim, and get it automatically transformed into links, without the need to create links on the fly.

Question information

Language:
English Edit question
Status:
Solved
For:
Zim Edit question
Assignee:
No assignee Edit question
Solved by:
Jaap Karssenberg
Solved:
Last query:
Last reply:
Revision history for this message
Best Jaap Karssenberg (jaap.karssenberg) said :
#1

On Fri, Feb 1, 2013 at 3:21 AM, Daniel
<email address hidden> wrote:
> New question #220719 on Zim:
> https://answers.launchpad.net/zim/+question/220719
>
> I have a tool that creates links directly to a text file. Something like this:
>
> [[file:/a/b/myFile1.txt| my file 1 ]]
> [[file:/a/b/myFile2.txt| my file 2 ]]
> [[file:/a/b/myFile2.txt| my file 3 ]]
>
> I would like to past this into Zim, and get it automatically transformed into links, without the need to create links on the fly.

Just put the text file in the zim notebook folder and it should work,
if the page is open in zim press "<Ctrl>R" to reload and reparse.

Alternatively if you want to trigger your tool from within zim, have a
look at "custom tools" option.

Regards,

Jaap

P.S. Better to make the links like "[[file:/a/b/myFile1.txt|my file
1]]" instead of "[[file:/a/b/myFile1.txt| my file 1 ]]" (so remove
the spaces around the text)

Revision history for this message
Daniel (sfgorky) said :
#2

Thanks Jaap Karssenberg, that solved my question.