Special text in TiddlyWiki's

102 views
Skip to first unread message

icefire

unread,
Nov 19, 2011, 6:55:22 AM11/19/11
to TiddlyWiki
I am using TiddlyWiki to concentrate all information about my work
with scripting.

Its a reference for the scripts that I have built in Powershell and
Command Line.

Its all basically text, but...

When I was copy pasting some of my Powershell scripts, I noticed that:
"...Tiddlers that have links to them but are not defined..." were
appearing on the left hand side menu under More|Missing.
Here is an example of one of those scripts that created these items
I'm talking about:

xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
$computer = gc env:computername
$DT = Get-Date
$emailFrom = "Rest...@company.com"
$emailTo = "bern...@company.com"
$subject = "Restart initiated for $computer"
$body = "The Server $computer is being Restarted at $DT plus 30
seconds"
$smtpServer = "exchangeserver"
$smtp = new-object Net.Mail.SmtpClient($smtpServer)
$smtp.Send($emailFrom, $emailTo, $subject, $body)
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

In this case I get the following under Missing:
Get-Date
excangeserver
SmtpClient

Is there a way to put some character or a combination of, to ignore
these created "Tiddler" references???

Måns

unread,
Nov 19, 2011, 6:20:16 PM11/19/11
to TiddlyWiki
Hi icefire

> When I was copy pasting some of my Powershell scripts, I noticed that:
> "...Tiddlers that have links to them but are not defined..." were
> appearing on the left hand side menu under More|Missing.

> Is there a way to put some character or a combination of, to ignore
> these created "Tiddler" references???

I guess the references wouldn't be created if you enclose your code in
triple curly brackets:
{{{
code WikiWord code [[no link - just code]]
}}}

If you just want to escape single WikiWords in the text you can use
the tilde sign like this:
"~WikiWord" (without the quotes..) and it won't get interpreted as a
WikiWord = link...

Cheers Måns Mårtensson

icefire

unread,
Nov 20, 2011, 5:50:23 AM11/20/11
to TiddlyWiki
Great!!!

Just what I needed.


Thanks for your help!!!

Reply all
Reply to author
Forward
0 new messages