Search und change text in TiddlyWiki

80 views
Skip to first unread message

philipp...@gmail.com

unread,
Dec 30, 2020, 12:06:21 PM12/30/20
to TiddlyWiki
Hi everybody,

I imported my TW Classic to TiddlyWiki Version: 5.1.14. In TW Classic I used to mark some words red by setting the following:  @@color(red):some text@@ 
Upgrading to TW5 didn't change this, but "some text" does not appear RED, except I change it to "@@color:red;some text@@

Is there a way to search the old expression and change it to the new one? Consider: not only one tiddler, but the whole TiddlyWiki!

Thanks
Philipp

Mark S.

unread,
Dec 30, 2020, 4:18:41 PM12/30/20
to TiddlyWiki
You should be able to do this with TW Commander and it's search and replace feature.

In your replace box, you will need to escape the parentheses (e.g. ( and ) ) with slashes, like @@color(\red\):

In the type of replace you will need (I think) global multi-line.

Be sure to have a backup before trying any of this!



TW Tones

unread,
Dec 30, 2020, 5:39:29 PM12/30/20
to TiddlyWiki
The other alternative if you have a single file wiki, is to open the html file in an editor such as notepad++ and do the search and replace.
  • Be as detailed as you can and be carful not to get false matches, in this case changing  @@color(red):  to   @@color:red; should be fairly safe.
 Tones

Philipp Verbeek

unread,
Dec 31, 2020, 11:01:14 AM12/31/20
to tiddl...@googlegroups.com
notepad++ worked very fine. With Commander-plugin I have to get more familiar.

Thanks and happy New Year

Philipp

--
You received this message because you are subscribed to a topic in the Google Groups "TiddlyWiki" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tiddlywiki/F1Ossbh-uWo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tiddlywiki+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/bd265034-03e4-46e5-bcaa-8e39f44705f4n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages