[tw5] Reveal if current tiddler is tagged

2018-06-29 Thread Allen Ormond
Is there a way to reveal or transclude only if the current tiddler has a certain tag? Dummy code below: if current_tiddler_tags include "foo" display "bar" end I'm sure there's a way to do this, I just haven't wrapped my head completely around TW yet. Thanks! -- You received this message

[tw5] Re: Reveal if current tiddler is tagged

2018-06-29 Thread 'Mark S.' via TiddlyWiki
Usually I would use a list widget for this tag-based hiding: <$list filter="[all[current]tag[Test]]"> > MY STUFF GOES HERE > > The all[current] filter operator restricts the domain to the current tiddler. Replace "MY STUFF GOES HERE" with whatever you want. HTH -- Mark On Friday, June 29,

[tw5] Re: Is it possible to highlight HTML color codes?

2018-06-29 Thread talha131
I tried your tip regarding Showroom tilder @@border-radius: 5px; @@padding: 9px 12px 10px; @@margin:1em; @@background-color:#2b2b2b; `#2b2b2b` @@ and it worked flawlessly. I wasn't aware of macro feature present in TiddlyWiki. But the custom macro you created for me is more versatile and

[tw5] Re: Reveal if current tiddler is tagged

2018-06-29 Thread Allen Ormond
Perfect! Thanks Mark. On Friday, June 29, 2018 at 1:21:45 PM UTC-4, Mark S. wrote: > > Usually I would use a list widget for this tag-based hiding: > > > <$list filter="[all[current]tag[Test]]"> >> MY STUFF GOES HERE >> >> > > The all[current] filter operator restricts the domain to the current

[tw5] Re: Steps in list of tillders

2018-06-29 Thread Birthe C
Hi Mohammad, This is very nice, easy enough for anyone to use. As you mention it can be used for several things. Handy when in a hurry. Birthe -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving

[tw5] Re: Steps in list of tillders

2018-06-29 Thread Mohammad
Hello Birthe Yes it is a handy tool. I learned a lot from your powerful showroom app and your direct help. I actually want the use it for reveal parts of the content in sequence in one tiddler. Cheers Mohammad -- You received this message because you are subscribed to the Google Groups

[tw5] Re: Newbie Having A Hard Time Importing Tiddly Plugins From Other Sources

2018-06-29 Thread CD
Okay, so I wasn't able to drag and drop them as you did, but I was able to do it, finally. Before I explain how, I show tell you that: - I am using Chrome as a browser - the "save automatically" option is on - not really using any addons/ extensions for saving, just manually saving

[tw5] Re: Newbie Having A Hard Time Importing Tiddly Plugins From Other Sources

2018-06-29 Thread CD
Thanks for replying. Yes, I'm using TW5 Empty which explains so much now. I've also been trying to install this one: http://tiddlymap.org/#Installation and other github based plugins but the import tool just gives me links. (https://github.com/felixhayashi/TW5-TiddlyMap) Like, I would

[tw5] Re: Newbie Having A Hard Time Importing Tiddly Plugins From Other Sources

2018-06-29 Thread 'Mark S.' via TiddlyWiki
Tiddlymap appears to work with TW5 empty edition. What browser are you using? I'm using Firefox, but I'm pretty sure it will work with Chrome -- assuming you are set up to save. What save mechanism are you using? With the tiddlymaps page open in one tab, and the "empty" in the other you

[tw5] Newbie Having A Hard Time Importing Tiddly Plugins From Other Sources

2018-06-29 Thread CD
Hey, so I've barely began to toy around with TiddlyWiki a few days ago, about five or four days, and have been trying to add plugins that I'm hoping will optimize my experience in using TiddlyWiki for note keeping and the like. I have seen the starting plugins given from the "Empty Version" of

[tw5] Re: Reveal if current tiddler is tagged

2018-06-29 Thread TonyM
Mark, I would think it better to add variable="null" to the list widget since we know at best the value inside the list will be our targeted tag. By using a variable the stuff will remain relavant to the current tiddler such as field references etc Regards Tony -- You received this message

[tw5] Re: Newbie Having A Hard Time Importing Tiddly Plugins From Other Sources

2018-06-29 Thread 'Mark S.' via TiddlyWiki
Are you using the Empty from TiddlyWiki.com, which is TW5 based? Because FND's site is for TWC. Plugins for TWC and TW5 are incompatible. -- Mark On Friday, June 29, 2018 at 5:36:31 PM UTC-7, CD wrote: > > Hey, so I've barely began to toy around with TiddlyWiki a few days ago, > about five or

[tw5] Re: Reveal if current tiddler is tagged

2018-06-29 Thread 'Mark S.' via TiddlyWiki
Right. Good point. -- Mark On Friday, June 29, 2018 at 6:15:10 PM UTC-7, TonyM wrote: > > Mark, > > I would think it better to add variable="null" to the list widget since we > know at best the value inside the list will be our targeted tag. > > By using a variable the stuff will remain

[tw5] List Widget and Tiddlers with space in their name and Camel Case words: Is it a bug?

2018-06-29 Thread Mohammad
Loo at the example here http://revealgradually.tiddlyspot.com/#Is%20this%20a%20bug%3F A small macro lists the tiddlers tagged with "KeeBoord". KeeBoord is a tiddler. The subtiddlers have names like "KeeBoord Installtion - Introduction" \define m2(myTag) <$list filter='[tag[$myTag$]]'

Re: [tw5] List Widget and Tiddlers with space in their name and Camel Case words: Is it a bug?

2018-06-29 Thread Jeremy Ruston
Hi Mohammad The double angle brackets syntax for transcluding a variable results in the text being wikified. Try <$text text=<>/> instead. Best wishes Jeremy -- Jeremy Ruston jer...@jermolene.com https://jermolene.com > On 29 Jun 2018, at 08:06, Mohammad wrote: > > > Loo at the example

Re: [tw5] Re: Table of Contents - Highlight the TOC entry

2018-06-29 Thread barrowgloom
> > Yes barrowgloom, that was my goal, that by using the caption field for > the ToC, I could apply classes and they would show that way in the ToC. The > ToC shows only caption fields, not titles. That is the way I set it up, so > the ToC's could have styles in the entries. I am not sure

[tw5] Re: Table of Contents - Highlight the TOC entry

2018-06-29 Thread Siniy-Kit
I wrote this code many years ago function findTitleDomNode(widget,targetClass) { targetClass = targetClass || "tc-title"; var domNode = widget.findFirstDomNode(); if(domNode.querySelector('.tc-title') != null ){ var

Re: [tw5] Not edit SVG tiddlers as text

2018-06-29 Thread p . kerrest
Hello Ton, Thank you for the post, very useful and interesting ! Great workaround for my SVG editing issue. Philippe On Thursday, June 28, 2018 at 6:36:36 PM UTC+2, Ton Gerner wrote: > > Hi Mark, > > The feature I want is to be able to set tags without opening a tiddler. >> >> > Have a look at

Re: [tw5] Setting the emptyValue in Set Widget

2018-06-29 Thread Jeremy Ruston
Hi Mohammad > > But if I directly set the emptyValue and I have used only one set widget. But > it does not work!! > > \define nextItem(parent) > <$set > filter='[tag[$parent$]after{!!temp}]' > name=NewIndex > emptyValue='[tag[$parent$]first[]]' > > > <$action-setfield >

Re: [tw5] Setting the emptyValue in Set Widget

2018-06-29 Thread Mohammad
Wonderful! Jeremy is there any document in tiddlywiki.com or other placed to explain these rules? Examples like: {!!title} {!!title} <> Best Mohammad On Friday, June 29, 2018 at 11:46:26 AM UTC+4:30, Jeremy Ruston wrote: > > Hi Mohammad > > > But if I directly set the emptyValue and I

Re: [tw5] Setting the emptyValue in Set Widget

2018-06-29 Thread Jeremy Ruston
Hi Mohammad > On 29 Jun 2018, at 08:33, Mohammad wrote: > > > Jeremy is there any document in tiddlywiki.com or > other placed to explain these rules? There is an attempt to document this stuff at https://tiddlywiki.com/#Transclusion%20and%20Substitution Best

Re: [tw5] Setting the emptyValue in Set Widget

2018-06-29 Thread Mohammad
Thank you Jeremy! Best wishes Mohammad On Friday, June 29, 2018 at 12:20:56 PM UTC+4:30, Jeremy Ruston wrote: > > Hi Mohammad > > On 29 Jun 2018, at 08:33, Mohammad > > wrote: > > > Jeremy is there any document in tiddlywiki.com or other placed to explain > these rules? > > > There is an

Re: [tw5] List Widget and Tiddlers with space in their name and Camel Case words: Is it a bug?

2018-06-29 Thread Mohammad
Thanks Jeremy! The issue solved! /Mohammad On Friday, June 29, 2018 at 11:47:51 AM UTC+4:30, Jeremy Ruston wrote: > > Hi Mohammad > > The double angle brackets syntax for transcluding a variable results in > the text being wikified. Try <$text text=<>/> instead. > > Best wishes > > Jeremy > >

Re: [tw5] Setting the emptyValue in Set Widget

2018-06-29 Thread Mohammad
Jeremy, One more point: When the result of filter in the set widget is tiddlers with space in the name like *My Tiddler*, the list widget return* [[My Tiddler]]* this cause the code breaks. Note to [[]] in the result. Based on your explanation I used the following syntax \define

[tw5] Is there any draw.io plugins for tiddly wiki?

2018-06-29 Thread Evgeniy Degtyar
Now I'm using iframe embedding for placing diagrams in tiddlers. I would be cool to edit diagrams right in tiddler and save changes without internet and copy/pasting. I'm trying to figure out is there any possibilities to create such plugin. But decided to ask first. -- You received this

[tw5] Re: Is it possible to highlight HTML color codes?

2018-06-29 Thread Mohammad
Take a look here: http://showroom.tiddlyspot.com/#%24%3A%2Fthemes%2FBirthe%2Fshowroom%2FColourExamples You can write a small macro to create such a list! It is easy in Tiddlywiki to do that! /Mohammad On Friday, June 29, 2018 at 6:44:04 PM UTC+4:30, talha131 wrote: > > Hi all, > > I want HTML

[tw5] Re: Is it possible to highlight HTML color codes?

2018-06-29 Thread Mohammad
You may try this macro - Code \define colors(color:"black", txtcolor:"black", bgcolor:"white") $color$ \end Put it in a tiddler tagged with $:/tags/Macro and name it what you like! - Example * <> * <> * <> * <> * <> * <> * <> * <> - Output

[tw5] Re: Is there any draw.io plugins for tiddly wiki?

2018-06-29 Thread @TiddlyTweeter
Martian I agree. There is a natural harmony between simple WikiText and nice diagrams that is in theory possible. the issue is you need to get a programmer interested in doing the conversion. FYI, there was a really good thread that raised it here before in some detail:

[tw5] Re: Is there any draw.io plugins for tiddly wiki?

2018-06-29 Thread @TiddlyTweeter
There are several. What kind of diagram? Maybe look first here for a few of the options ... https://dynalist.io/d/zUP-nIWu2FFoXH-oM7L7d9DM#z=3IZ8e38T8Az4ZCwmewTNS_iu https://dynalist.io/d/zUP-nIWu2FFoXH-oM7L7d9DM#z=R__-lKgsGMWylDEUAGhbJZ_X J. On Friday, 29 June 2018 11:31:31 UTC+2, Evgeniy

[tw5] Re: Is there any draw.io plugins for tiddly wiki?

2018-06-29 Thread Martian
I wish there were plugins for such diagram js libs as well https://support.typora.io/Draw-Diagrams-With-Markdown/ On Friday, 29 June 2018 12:31:31 UTC+3, Evgeniy Degtyar wrote: > > Now I'm using iframe embedding for placing diagrams in tiddlers. > I would be cool to edit diagrams right in

[tw5] Re: [TW5] Is there a plugin FAQ? My new plugin is not loaded though is shown as "installed".

2018-06-29 Thread Martian
Well, I am not yet understand how to check "can you USE the css and whatever you have in $...one.js" . I supposed just to put some js lib and css to plugin tiddler and then it will do some stuff with each block "classified" in certain way (like all these vue.js etc). But I can not even see my

[tw5] Re: Is there any draw.io plugins for tiddly wiki?

2018-06-29 Thread Evgeniy Degtyar
Is that what you want? http://tobibeer.github.io/tw5-plugins/#plantuml пятница, 29 июня 2018 г., 15:02:10 UTC+3 пользователь Martian написал: > > I wish there were plugins for such diagram js libs as well > https://support.typora.io/Draw-Diagrams-With-Markdown/ > > On Friday, 29 June 2018

[tw5] Steps in list of tillders

2018-06-29 Thread Mohammad
*Announcement* The steps macro is a very simple, easy to understand code to show a list of tiddlers one by one everywhere you put the below code <> This can be used for tutorials, wizards, slide show, small gallery of images and like that. The description and several working examples are

[tw5] Is it possible to highlight HTML color codes?

2018-06-29 Thread talha131
Hi all, I want HTML color codes in my tiddly wiki to be highlighted? Something like in the following screenshot. How can I get this working, if it is possible at all? Thank you. -- You received this message because you are subscribed to the Google Groups