Hi !
Recently I have learned about TiddlyWiki ( I'm using TiddlyWiki Classic; version 2.8.1 I presume ), but I have tried to learn as much as I could, and now I'm using it to develop a quite long tutorial about programming.
My problem is that I need to "automatize" the creation of inner references, it's to say I would like to insert inside the text something looking like "some text ... (HowTo: Define a class) ... some more text" and "magically" find in the tiddler "HowTo" a link "Define a class" pointing to the pertinent, tiddle.
Is it practicable ??
Thanks for your replies !!
I don't understand your question. If you create a link inside your text (e.g. [[Define a Class]]) it will automatically create a link. If you click on the link it will take you to the tiddler. If the tiddler doesn't exist, you will be taken to a blank tiddler which you can begin editing to create the tiddler.
I believe that it worked this way both in TWC and TW5.
If you want something more advanced than that type of auto-creation, you will probably need to give more details.
Also, if you want your answer for TW Classic you should probably change your question or start a new question with the term [TWC] in the title. This will alert people that you need help regarding TWC. I think the answer C Pa was suggesting applied to TW5. TWC is getting old now, and there's going to be fewer people and resources that can help you with issues. You might consider TW5 instead.
Recently I have learned about TiddlyWiki ( I'm using TiddlyWiki Classic; version 2.8.1 I presume ),
Hi !
( 1 )
I'm sorry for my carelessness. I will use [TWC] when appropriate.
( 2 )
I have seen SectionLinksPlugin and I find it extremely useful ! Its <<sectionTOC>> macro stands very close to what I'm looking for.
( 3 )
No doubt it's my fault, but I can't make appear an anchor like
<html><a name="sectionname" />Anchor</a></html>
in the table of contents generated by <<sectionTOC>>. Am I leaving out some syntax ?
( 4 )
Now, perhaps, I can rephrase my first question in a
more comprehensible form. I would like to have the possibility to place a
macro, let's say <<myMagicMacro>>, in the tiddler MyToc and get the linkified list of
all
<html><a name="sectionname" />Anchor</a></html>
anchors, wherever appear in the whole document (it's to say in all Tiddlers).
( 5 )
I'm examining carefully Tobias Beer's Linkify. Great plugin also !
( 6 )
Regarding the choice of classic TiddlyWiki. I'm using it because I have been asked to do so; probably my teacher is simply not still aware of the existence of the newer version. I will inform him.
I thank you all for the replies !
( 3 )
No doubt it's my fault, but I can't make appear an anchor like
<html><a name="sectionname" />Anchor</a></html>
in the table of contents generated by <<sectionTOC>>. Am I leaving out some syntax ?
<html><a name="sectionname">Anchor</a></html>
Regarding the choice of classic TiddlyWiki. I'm using it because I have been asked to do so; probably my teacher is simply not still aware of the existence of the newer version. I will inform him.