Re: [tw5] How to use a tag with spaces in tm-new-tiddler message?

2020-10-10 Thread talha131


I just tried setting the value of my tiddler 
$:/talha131/config/NewHighlight/Tags

[[✨ highlight]]

and it solved the issue.

But I would still like to know how to use spaces in tags=<> 
syntax?
​

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/4ab664ad-b111-47bb-ae28-2ea7449e095eo%40googlegroups.com.


Re: [tw5] How to use a tag with spaces in tm-new-tiddler message?

2020-10-10 Thread talha131


Thanks a lot. I am actually trying to create a duplicate of “New Journal” 
button, which I call “New Highlight”. Everything now works including the 
keyboard shortcut.

What does not work is that I want the “New Highlight” tiddler to have a tag ✨ 
highlight. Notice the space.

The code for the action is this

<$vars journalTitleTemplate={{$:/talha131/config/NewHighlight/Title}} 
journalTags={{$:/talha131/config/NewHighlight/Tags}} 
journalText={{$:/talha131/config/NewHighlight/Text}}>
<$wikify name="journalTitle" text="""<$macrocall $name="now" 
format=<>/>""">
<$reveal type="nomatch" state=<> text="">
<$action-sendmessage $message="tm-new-tiddler" title=<> 
tags=<>  text={{{ [get[]] }}}/>

<$reveal type="match" state=<> text="">
<$action-sendmessage $message="tm-new-tiddler" title=<> 
tags=<> text=<>/>




As you can tell it is same as new-journal action.

It reads the tag from {{$:/talha131/config/NewHighlight/Tags}} into 
journalTags variable.

This variable is used in this way tags=<>. But this syntax 
does not work for a tag that has spaces in it.

You can try this issue, by overwriting your $:/config/NewJournal/Tags 
tiddler and adding a tag that has spaces in it.
​

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/4b714e5e-4712-45b5-8265-16ed6f02a1f9o%40googlegroups.com.


Re: [tw5] How to use a tag with spaces in tm-new-tiddler message?

2020-10-10 Thread talha131


Thank you. This worked.

But what syntax should I use if the tag is defined inside a variable 
journalTags.

I have tried 

tags="[[<>]]""

and 

tags="[[$journalTags$]]""

Both did not work.
​

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/ddb85920-f5ba-4787-af96-fe9892661fd5o%40googlegroups.com.


[tw5] How to use a tag with spaces in tm-new-tiddler message?

2020-10-10 Thread talha131
I want to use send message to create a tiddler with a tag. Tag must have 
two words separate by space, for example "hello world"

I tried

```html
<$action-sendmessage $message="tm-new-tiddler" title=<> 
tags="hello world"  text={{{ [get[]] }}}/>
```

But the tiddler it makes has two tags, "hello" and "world" instead of one 
"hello world".

What syntax should I use so that the new tiddler has the proper tag?

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/989a7947-37ee-4e25-a75a-1ca3208efdc6o%40googlegroups.com.


[tw5] Re: [Theme] Mono - Bullets not rendering

2020-10-04 Thread talha131


To fix this bug do this

Create a new tiddler.

Write in it

 ul, li { list-style-position: inside; }

Tag it with $:/tags/Stylesheet.

This should fix the issue.

You might want to put all these rules in there too, but it is not necessary.

 ul, li { list-style-position: inside; }  
 ul, li {white-space: normal !important;text-align: justify; } li > p { 
  display: inline; } mark.blue { background-color: #15f4ee; }  mark.green { 
background-color: #39ff14; } mark.yellow { background-color: #ccff00; } 
mark.orange { background-color: #FF9933; } mark.pink { background-color: 
#ff69b4; }

​

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/a9c9a91b-ed17-499a-b6a8-955524ceba53o%40googlegroups.com.


[tw5] Re: Is there any program associated with TiddlyWiki?

2020-10-03 Thread talha131
1. Run TiddlyWiki from NodeJS
2. Access the TiddlyWiki URL from your Android browser
3. Make sure your TW theme works on mobile
4. Create a new tiddler
5. Save

B/c you are accessing it from NodeJS server, the changes will automatically 
be saved on to your server.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/ca806475-a7f2-441e-bcca-181417b5a1d0o%40googlegroups.com.


[tw5] Re: [Theme] Mono - Bullets not rendering

2020-10-03 Thread talha131
 
> Anyone have any experience in fixing this?  

Fixing what? When your enable the checkbox, the bullets and numbers start 
to work as usual.

I cannot speak for JD, who is the author of the theme. But I think she uses 
Mono them with the Drift plugin, which is why you see this behavior.



-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/17a81e35-126b-4432-af65-0712ce6ef1edo%40googlegroups.com.


Re: [tw5] Is there a way to recreate tiddlywiki.info file?

2020-10-03 Thread talha131


If you have your old wiki (the one whose tiddlywiki.info got deleted) in 
HTML format, like from a backup, then I will solve this problem this way

   1. Create a new TiddlyWiki using NodeJS 
   2. Start the new tiddlywiki in the browser 
   3. drag and drop old backup html file on to the new tiddlywiki 
   4. It will ask your permission to import files 
   5. Permit it 

After import is complete, NodeJS will ask you to save the changes. Then the 
tiddlywiki.info of the new wiki should reflect the settings of your old TW. 
You can then copy paste the file.

If this does not work, then you can manually edit your new tiddlywiki.info 
to set your theme and plugins.
​

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/c8eff471-9487-497e-931c-21aa17604fe3o%40googlegroups.com.


[tw5] Re: Newbie - Easy Way to Install Plugins?

2020-09-15 Thread talha131


where one selects the plugins from a list then executes an install. 

To the best of my knowledge, it is possible, but the solution is not 
straightforward.

   1. Install NodeJS 
   2. Install TiddlyWiki NPM 
   3. Add your required plugins to TiddlyWiki NPM installation 
   4. Enable the plugins in tiddlywiki.info file 

Once done, you can create new copies of TW using


tiddlywiki mynewwiki --build index

All the index.html produced using the above command will have your required 
plugins already available.

Step three is difficult to do, especially if you are new to TW.

But if you pull it off, then you simply have to enable and disable the 
plugins in tiddlywiki.info to get a TW of your choosing.
​

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/ff306302-0647-4d77-ac0c-bde0678363beo%40googlegroups.com.


[tw5] Re: Newbie - Easy Way to Install Plugins?

2020-09-15 Thread talha131
If I understand you correctly, then you can download a fresh copy of TW, 
install your plugins and then save it as your master copy. 

Then onwards, you can create your new wikis on top of the master copy.

Another way is to take a backup of your plugins and settings and export 
them as JSON. Keep the JSON safe. Import the JSON in all your new wikis.

A recent answer discusses this JSON method

https://groups.google.com/d/msg/tiddlywiki/p-4e3f8jOGI/ZSQ-R9NLAgAJ

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5a4fe1f4-fb7e-4c86-8bd1-d793877807d5o%40googlegroups.com.


[tw5] Re: Using "Vertical bar" in Tiddler Title

2020-09-15 Thread talha131


I asked a similar question in the past. Tones and other users shared their 
worthy suggestions. You can read them here

   1. https://groups.google.com/forum/#!topic/tiddlywiki/iu-y7CVx6dg 
   2. https://groups.google.com/d/msg/TiddlyWiki/WWKlkMR-zfs/7nl_ARXqBwAJ 
   3. https://groups.google.com/d/msg/tiddlywiki/iu-y7CVx6dg/InmsYmYpAAAJ 

Personally I would solve this problem this way

   1. Always store the original title in a field like youtube-title (you 
   can use bar and other special characters 
   2. Store the url in a field like youtube-url 
   3. Set the tiddler title to a a valid string which reflects the Youtube 
   title but does not include special characters 

Next I would use templates to display this information in every tiddler. If 
I have to search then I would use list field to search in the youtube-title 
field.

Here you can see, I use template to display my source-url field

​

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/ddcbec28-e817-465c-a04f-1149ae32a35co%40googlegroups.com.


[tw5] Please critique my solution

2020-09-14 Thread talha131
What’s the objective? 

Show a list of tiddlers that link to the current tiddler, using either soft 
or hard links, and show the tiddlers current tiddler links to.
My solution 

Create a template with the following code



! What Links here>


! Outbound links
>


! Search Result
<]">>


Problem 1 

I could not find an operator that lists soft-links. So I relied on the 
search operator. What do you think of the following code?

<]">>

Problem 2 

I could not figure out how to show the soft-links used in the current 
tiddler. I guess that I would have to use regex and search operators. 

I am not sure what the perfect regex expression would be because you can 
create a soft-link in a number of ways, like using """ or using {{. Also, 
how to know that the text inside """ or {{ is part of a soft-link.
Request 

Kindly review my code and let me know if I missed something or if it can be 
improved.

Also, please share a solution if you know a way to solve problem 2 reliably.
​

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/29de45ed-cdeb-466d-95ad-67fc03878c53o%40googlegroups.com.


[tw5] Re: How to create hard link using macro?

2020-09-14 Thread talha131
Tejasvi, did you find a solution to the issue? 

I also need a way to get soft links to a tiddler.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/9cbf5926-86ff-4d20-a611-5689253eb1ebo%40googlegroups.com.


[tw5] Re: Resource: Mohammad's Wikis

2020-09-12 Thread talha131
That's a useful list. Thanks for it.

The URL for Shiraz needs an update. It's current URL is

https://kookma.github.io/TW-Shiraz/

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/32e0ec6c-215e-41aa-9ce3-85b2dd5d2c0ao%40googlegroups.com.


[tw5] Re: A beautiful post that describes the Joy of Tiddlywiki

2020-09-12 Thread talha131
Thank you Donald for sharing it. It's eloquent.

Besides the other links that you and Tones have shared, there is also 
https://webmention.net/, which can partially replace the established 
comments system.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/181c8af9-23f0-419b-9a1b-6f8d6f1b45c4o%40googlegroups.com.


[tw5] Add new types to TiddlyWiki editor (Short explanation)

2020-09-12 Thread talha131


TiddlyWiki Editors shows content type selector. It lets you set tiddler 
type to an image like image/png or a text type like text/x-markdown.

To add a new type which is not present in the core like video/mp4 or 
image/webp.

   1. Create a new tiddler 
   2. Name it $:/language/Docs/Types/video/mp4 
   3. Set the fields of the tiddler 


   - description: MP4 
   - group: video 
   - name: video/mp4 
   - group-sort: 3 

Setting group-sort to 3 will make the group appear at the bottom.
​

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/44191c58-cd0c-4b47-9e4a-c3fd68384c7fo%40googlegroups.com.


[tw5] Re: How to do transclsion in raw HTML?

2020-09-12 Thread talha131


Thank you Saq. Now it’s clear, and I am so sorry for wasting your time. I 
should have picked the hint from your first answer.

This worked.




​

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/dd1fd746-5fd3-4bdd-ad39-85711299c1ddo%40googlegroups.com.


[tw5] Re: How to do transclsion in raw HTML?

2020-09-12 Thread talha131


Thank you Saq. I read the doc you linked to.

I tried 

{{Test Video}}

It embeds the video into the tiddler.

But when I tried using {{}} in raw HTML as described in Transcluded 
Attribute Values, it did not work.




The HTML it generates is

 


As you can see the src value is empty.
​

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/dc4822d0-aa8d-414f-8c16-0bcfd3cb989co%40googlegroups.com.


[tw5] How to do transclsion in raw HTML?

2020-09-12 Thread talha131


I added a video to the TW using _canonical_url.

Now I want to link to that video in a tiddler body. 

When it is images, the following syntax works

[img[ImageTiddler]]

But to embed video, I have to use raw HTML




This does not work.

So how do I transclude the video tiddler inside src attribute?
​

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/d70022c1-6512-4ce6-8ad4-74a7354e0fb7o%40googlegroups.com.


[tw5] Re: How many of you use core TiddlyWIki?

2020-09-12 Thread talha131
I  use the TW core version. 

I also try to make sure I use as little third party plugins as possible. 
Right now, I only have the ReLink plugin that is not in the core. Other 
plugins like Katex and Highlight are in the core.

You do not have to worry about a TW edition's lack of upgrades because it 
will not stop working. The real issue is the bugs. If an edition is 
bug-free and suits your needs, then you should use it.

My motivation for using the core is to learn the customization process so 
that down the line, I can create my personal TiddlyWiki edition. 

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/fd963178-6984-4755-8dde-02896c49741ao%40googlegroups.com.


[tw5] Re: How to create hard link using macro?

2020-09-10 Thread talha131


I see. I posted a similar question few days ago 
. The 
conclusion was to look up the code of ReLink plugin. I ended up using tag 
hierarchy instead of creating backlinks from macro.
​

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/7aec-a4d0-415e-9aed-d3bc8ed3f458o%40googlegroups.com.


[tw5] How to add fonts to TW running on NodeJS

2020-09-10 Thread talha131
I am running TW from NodeJS. I need to add some fonts that I use in some 
CSS classes only.

Currently, TW picks the fonts from the system, which is fine for now. My 
concern is that when I export the tiddlers to an HTML file using the save 
command or using the export tiddler menu item, then the font will not be 
part of it. The target system will most likely not have the required fonts.

How do I add fonts such that they are embedded in export? Should I create a 
`fonts` folder inside my tiddlers' folder?

What other way is there to add fonts to TW? 

I have found this tutorial, but it is only for hosted fonts; I want to use 
fonts on HDD.

https://ibnishak.github.io/Tesseract/UI/index.html#How%20to%20use%20google%20fonts%20in%20TW5
 





-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/bd9b67b3-4b43-4d5d-bbf4-3a5578fdc995o%40googlegroups.com.


[tw5] Re: How to create hard link using macro?

2020-09-10 Thread talha131


Another approach

>

​

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/0a60f551-050a-4f4d-95cc-aec391276506o%40googlegroups.com.


[tw5] Re: How to create hard link using macro?

2020-09-10 Thread talha131


I think your macro needs following snippet of code to show the backlinks 
correctly

<$list filter="[backlinks[]]"><$view field="title"/> 

​

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/40152250-72d5-45b5-a670-e48ee4947b72o%40googlegroups.com.


[tw5] Re: @@ sign from a title is not displayed when transcluding the title field

2020-09-10 Thread talha131
PS: I found another post from you on the same topic

https://groups.google.com/d/msg/TiddlyWiki/WWKlkMR-zfs/7nl_ARXqBwAJ

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/106af1c0-6a32-4852-a715-e807cd53b0d9o%40googlegroups.com.


[tw5] Re: @@ sign from a title is not displayed when transcluding the title field

2020-09-10 Thread talha131


Thank you Tones. I settled on using a single @. Because all other options 
require tweaking the templates.

Your bit about using @@ in a SVG tiddler is awesome.
​

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/f52c5236-0a82-42d3-9be6-ce86d6ffddbfo%40googlegroups.com.


[tw5] Re: Check if field is empty (or not exist), then use value from other field

2020-09-10 Thread talha131
Thank you Eric for the detailed response.

I also found this explanation, you had contributed in the past.

https://kookma.github.io/TW-Scripts/#Shorthand%20Syntax%20Summary

On Thursday, September 10, 2020 at 2:17:07 PM UTC+5 Eric Shulman wrote:

> On Thursday, September 10, 2020 at 1:30:39 AM UTC-7, talha131 wrote:
>>
>> Eric, why do we need three braces? {{{ What do they do in this example?
>>
>
> Double curly braces {{...}} is used for "transclusion" where you specify a 
> tiddler title/field and/or a tiddler template.
>
> Tripled curly braces {{{  }}} is used  for "filtered transclusion" where 
> you specify a filter that computes one or more tiddler titles.
>
> Either syntax can be used as the parameter value for a widget such as 
> <$vars>
> Doubled braces fetch a stored value from a field.
> Tripled braces compute a value by evaluating a filter.
>
> {{bar}}
> gets the value from the "text" field of tiddler "bar"
> {{bar!!mumble}} or {{{ [{bar!!mumble}] }}} or {{{ [[bar]get[mumble]] }}}
> get the value from the "mumble" field of tiddler "bar"
> {{!!mumble}} or {{{ [{!!mumble}] }}} or {{{ [get[mumble]] }}}
> gets the value from the "mumble" field of the current tiddler
>
> The big advantage of the tripled braces ("filtered transclusion") is that 
> you can apply more filter syntax that just "get", such as "else".  Thus:
> {{{ [get[mumble]else[gronk]] }}}
> gets the value from the "mumble" field of the current tiddler... but if 
> that field doesn't exists or has no value, it uses the literal text "gronk" 
> instead.
> {{{ [get[mumble]else{!!gronk}] }}}
> gets the value from the "mumble" field of the current tiddler... but if 
> that field doesn't exists or has no value, it uses the value from the 
> "gronk" field instead.
>
> You can also use other filter syntax, to create some pretty complex 
> logic.  Thus:
> {{{ [get[mumble]removesuffix[arglebargle]else{!!mumble}] }}}
> gets the value from the "mumble" field of the current tiddler AND removes 
> the text "arglebargle" from the end of that value... but if that value 
> doesn't end with "arglebargle", it just uses the value of "mumble", as-is.
> {{{ [get[mumble]else[0]add[1]min[20]] }}}
> gets the value from the "mumble" field of the current tiddler, then adds 1 
> to that value, but never goes over 20.  Note: if "mumble" doesn't exist or 
> is blank, a default value of "0" is used, and then 1 is added.
>
> So... using that last example, you can create a button that counts from 1 
> to 20, incrementing each time the button is pressed:
> <$button> count
><$action-setfield mumble={{{ [get[mumble]else[0]add[1]min[100]] }}} />
> 
> mumble={{!!mumble}}
>
> enjoy,
> -e
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/ba5f39d1-1a01-4d32-a0b5-a2ac45cb0cd9n%40googlegroups.com.


[tw5] Re: Check if field is empty (or not exist), then use value from other field

2020-09-10 Thread talha131


Eric, why do we need three braces? {{{ What do they do in this example?

This question is related to your answer here 
.

Let me know if I understand correctly.

   1. [get[field-1]else{!!field-2}] gets the value. 
   2. {{ }} transcludes the value? 
   3. The outer {}, I am not sure what it is for. I tried using quotes in 
   place of these outer braces, but the widget did not work. 

The reason I asked because, as you can see in the linked answer, I was 
using {{ when I should have used quotes. Some explanation on using { inside 
widgets and filters would be useful for newbies like me.
On Thursday, September 10, 2020 at 4:15:06 AM UTC+5 Eric Shulman wrote:

> On Wednesday, September 9, 2020 at 3:52:50 PM UTC-7, Darek Bobak wrote:
>>
>> Is it possible to use in macro value of field-1, and if the field does 
>> not exist, use field-2?
>>
>
> Like this:
> <$vars value={{{ [get[field-1]else{!!field-2}] }}}> 
>
> The "get" filter only returns a value if the field exists AND is not empty.
> If it doesn't have a value (or doesn't exist) then the "else" filter is 
> evaluated
> (in this case, it returns the value from field-2)
>
> -e
>
>
>
>
>  
>
>>
>> best,
>> Darek
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/b5eaa4de-f7c9-421c-8deb-b23d2e52d2b3n%40googlegroups.com.


[tw5] Re: How to embed template tiddlers?

2020-09-09 Thread talha131
Thank you, Saq, this fixed the issue.


-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/6205ab99-ec85-48f5-b381-c2e569a8cd0bo%40googlegroups.com.


[tw5] How to embed template tiddlers?

2020-09-09 Thread talha131


I have simple template that I use with tabs widget, say, 
*$:/talha131/Template/VerticalTab*

<$tiddler tiddler=<>><$link to={{!!title}}>
! <$view field="title" />
<$transclude mode="block" />


I have defined a separate template tagged with $:/tags/ViewTemplate that 
shows source-url field from the tiddler, say, 
*$:/talha131/Template/TiddlerMeta*

I want to embed *TiddlerMeta* into *VerticalTab* template. So that the 
macros that use VerticalTab will also show TiddlerMeta.

I can copy paste code from TiddlerMeta to VerticalTab. But this means if I 
make any changes in the TiddlerMeta, it will not be automatically reflected 
in the VerticalTab template.

I have tried using

<$transclude tiddler={{$:/talha131/Template/TiddlerMeta}} mode="block" />

But this did not work.
​

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/2495e562-84a8-46c5-9e90-b83bead6f93do%40googlegroups.com.


[tw5] How to override a theme while making sure future upgrade goes smoothless?

2020-09-09 Thread talha131


I am using JD’s material theme. I want to customize some portion of the 
theme in the tiddler.

$:/themes/jd/Material/Template/Header-Sidebar

If I understand correctly, I will have to remove and edit some widgets. 

How do I make sure that if I edit the tiddler, I can smoothly upgrade to a 
future version of Material Theme?
​

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/1e233ba6-2a87-4cef-a8cd-16ef4cb61987o%40googlegroups.com.


[tw5] Re: What is the purpose of source field in a tiddler?

2020-09-09 Thread talha131


Thank you all. 

The reason is you could then write wiki text to turn the contents of any 
field name with -link into a link by the prefixes name

Great tip.

I decided to use source-url, source-book, source-person, depending on from 
where I collected the note.
​

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/4c0073c3-1873-45a0-b7fb-cbc1fd7a4d9ao%40googlegroups.com.


[tw5] Re: Few question about using @@ construction to style the tiddlers

2020-09-09 Thread talha131
Just two days ago I was facing this problem

# item 1
# item 2 
```
code
```
# item 3

I was wondering how to make it work in TW.

In some flavors of Markdown intending the code line does the trick and the 
numbering continues from the previous number.
In AsciiDoc, you can tell the markup to continue the counting.

Your `div` trick solve the issue.

# item 1
# item 2 

```
code
```

# item 3


-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5e895b8f-4782-424d-bd1e-bd43852171d9o%40googlegroups.com.


[tw5] Re: @@ sign from a title is not displayed when transcluding the title field

2020-09-09 Thread talha131


Thank you Eric. I never got the warning. Not sure what the reason is.

*I am going to remove @@ from the title and use single @ in the title.* By 
the way, title of my tiddler was Use @@ to style the tiddlers, which is the 
tiddler in which I documented my observations on @@.

<$view field="title" />

The above snippet worked flawlessly.

or the <[image: text> widget, like this: <]view text={{!!title}} />

I think you meant, 

<$text text={{!!title}} />

Thank you for your prompt response.
​

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/e6ee24cd-2e18-4efe-9081-50698b5156afo%40googlegroups.com.


[tw5] Re: Few question about using @@ construction to style the tiddlers

2020-09-09 Thread talha131


Thank you Brian. This is exactly what I was looking for. Much appreciated!

Some behavior of the @@ is undocumented. I enabled "tiddlywiki/internals", 
plugin to see the raw HTML. 

I noticed, if @@background-color: red; is not immediately followed a by 
newline after the semicolon, then the rule is applied to span element, 
instead of div.

In your solution I noticed if the enclosing  is not followed by a 
newline then the nested rules do not work.

I guess @@ parser is particular about newlines and spaces.
​

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/00a9bded-488d-415e-9bf6-5cdbea6b4157o%40googlegroups.com.


[tw5] @@ sign from a title is not displayed when transcluding the title field

2020-09-09 Thread talha131


Say I created tiddler with the title, 

Test @@%+&*[] example

In the tiddler, body when I use {{!!title}}, every character appears except 
the @@.

If I use @ once, or odd number of times then it works. But if I use @ twice 
or four time, then it is not displayed. 

It is probably because @@ has special meaning in tiddler and is used for 
styling.

Question is how to write {{!!title}} so that it displays @@ or any other 
character combination that may have special meaning in TW.
​

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/da1d3c20-a518-485f-a782-353ca269efd1o%40googlegroups.com.


[tw5] Re: Will the tiddlywiki become very lag when added so many images into it?

2020-09-09 Thread talha131
Zhe I have asked this question twice in the past and experimented with 
different options. You can read my conclusion, and responses to my question 
here

https://groups.google.com/d/msg/tiddlywiki/WXr7I6OvTv0/OgyuiAaqBAAJ

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/c58b92e2-4d28-4105-9436-903ce3ce9dffo%40googlegroups.com.


[tw5] Re: Is it better to host images externally rather than in TW for performance? [2020 update]

2020-09-09 Thread talha131


An update, in case someone else stumbled on this thread.


My assumption that the number of images and image size does not matter if 
you are running TW from NodeJS turned out to be wrong.


I removed images from my TW, which reduced the size from 33MB to 6MB, 
that's about 80% reduction in size. The performance of TW, including 
animations, improved drastically.


First, I had removed only large images, i.e., images greater than 1MB in 
size. When I noticed the boost in responsiveness, I pulled all the images.



   1. I uploaded images to an external host, pCloud.
   2. I created image tiddlers inside TW and their `_canonical_uri` field 
   to the image URL

This way, my TW stays light and responsive, and I get the advantage of 
using images as tiddlers, like reusing an image in different tiddlers or 
using an image as an icon, or renaming an image tiddler.


I did not export the SVG images, but I did run them through an image 
optimizer to reduce their size.




-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/c0c6438e-3e6f-46e9-a2f7-c23e786f8c82o%40googlegroups.com.


[tw5] Re: How to show a list of tiddlers linked or transcluded or used inside via macro in the tiddler?

2020-09-09 Thread talha131


Thank you, Tones. I looked up the source code of the ReLink plugin; it is 
powerful and useful.

After experimenting, I decided to use tags and nested tags to organize my 
notes, with the Relink plugin to help me rename the tiddlers.

I wanted to link tiddlers together, such that I could jump from one tiddler 
to another and back, and see a list of related notes.

I could use the list field. But adding tiddlers to it is a bit cumbersome. 
Changing sort order is also a manual process.

There are plugins like the wizard plugin, which lets you press the next and 
back buttons to jump between linked tiddlers.

But tags are the easiest to use.

   1. You can sort tiddlers in a tag by drag and drop. 
   2. There is a button in vanilla TW, “Create a new tiddler tagged with 
   this one.” You can easily create tiddlers’ hierarchies using the button—no 
   need to edit the list field. 
   3. Notes that share a tag are related. 

​

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/9b6761df-9bad-4c3f-bdc8-a958ba2dfd0co%40googlegroups.com.


[tw5] Re: How to show a list of tiddlers linked or transcluded or used inside via macro in the tiddler?

2020-09-06 Thread talha131


>From what I looked up, it does not seem possible. All the solutions are 
made on top of “Reference” tab. None of them take into account tiddlers 
transcluded in the tiddler.

For example,

   1. https://akhater.github.io/drift/ 
   2. https://hchaase.github.io/HC-Plugins/ 
   3. https://tobibeer.github.io/tb5/#taggly 

All of them work flawlessly with tiddlers linked via internal link markup. 
But do not work with translucded tiddlers, which leads me to think, this 
task is impossible or at least not trivial to pull off.
​

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/57211f24-e275-4dbe-8875-01cd90de2f9co%40googlegroups.com.


[tw5] How to show a list of tiddlers linked or transcluded or used inside via macro in the tiddler?

2020-09-06 Thread talha131


I have noticed that when you link to tiddlers using [[Tiddler Title] then 
it updates the “Reference” tab of the tiddler info.

But if I only transclude the tiddler {{Tiddler Title}} or use a macro,

<>

Then the tiddler does not end up in the “Reference” tab.

I am looking for a way to show related tiddlers in a section of the tiddler 
body. I understand that I can leverage ViewTemplate to modify the tiddler 
body.

But how do I get a list of tiddlers mentioned in the text using links, 
transclusion, and macros?
​

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/2d4862b3-f9c7-4c5b-ac58-0a3db858be32o%40googlegroups.com.


[tw5] Re: What is the purpose of source field in a tiddler?

2020-09-06 Thread talha131


Though I could not find official documentation, but it seems source field 
has special usage in TW.

For example, this edition uses source field for creating a hierarchy of 
tiddlers.

http://tw5.scholars.tiddlyspot.com/

It is also used for the source URL of a plugin.

(optional) Source URL of plugin

https://tiddlywiki.com/static/Plugin%2520Fields.html

My understanding is that it is better to avoid source and use some other 
custom field for my use case.

Do let me know if my understanding is incorrect.
​

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/8cc5eb6b-1a2a-42be-861e-5b83e14f13b7o%40googlegroups.com.


[tw5] Re: Few question about using @@ construction to style the tiddlers

2020-09-06 Thread talha131
Yeah, Eric. I meant that's the solution I used. 

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/380d9da6-62bd-4a58-9fd0-8d8d28f649f4o%40googlegroups.com.


[tw5] What is the purpose of source field in a tiddler?

2020-09-06 Thread talha131


As per the docs :

source is field is used by the core for

The source URL associated with a tiddler

Is there a practical example of it being used?
What I am looking for? 

I want to add a field that can be used for links to the source of the 
tiddler. Say I copy the content from Wikipedia and I want to mention the 
link the Wikipedia article. 

Can I use source field for it? Or should I add a new field like url?

I can then customize ViewTemplate to automatically show the source url in 
the body of the tiddler. But which field should I use?
​

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/a90536c7-15c9-4ce9-9dc1-c50885d7abf3o%40googlegroups.com.


[tw5] Re: How to apply a macro or a template to all the tag tiddlers?

2020-09-06 Thread talha131


Genius solution Eric!
​

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/ef4e5a0d-9453-40fe-8d81-881afffe1598o%40googlegroups.com.


[tw5] Re: Few question about using @@ construction to style the tiddlers

2020-09-06 Thread talha131
Thank you Mat. I ended up using your solution.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/6c9f09a1-c6db-4895-a284-7c8274849fd0o%40googlegroups.com.


[tw5] Re: How to transclude raw contents of a shadow tiddler

2020-09-06 Thread talha131


Thank you Saq. This was helpful. I ran it on a couple of shadow tiddlers 
and fixed my configuration using compareTiddlerText.
​

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/27aab8a5-f1f5-4160-8a25-e70682f35f8bo%40googlegroups.com.


[tw5] How to apply a macro or a template to all the tag tiddlers?

2020-09-06 Thread talha131


I have a macro, which basically list all the tiddlers tagged with the 
current tiddler in a vertical tab list

\define tagVerticalTabsUnsorted(defaultTid:"")

@@float:right;
{{||$:/core/ui/TagTemplate}}
@@
<$macrocall $name="tabs" 
tabsList="[tag]"default=<<__defaultTid__>>
state="$:/state/tab1" 
class="tc-vertical" 
template="$:/talha131/Template/VerticalTab"
retain="no"
/>

\end

How do I automatically apply it to all the tiddler that are a tag?

Say I create a new tag example. Then,

   1. A tiddler named example should automatically get created 
   2. example tiddler should automatically show the tiddlers with the tag 
   example in a vertical tab list 
   3. If I edit the example tiddler with some other content then the 
   vertical tag should stop showing. Instead it should the content I manually 
   entered. 

Is it possible in TW?

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/b26778f9-381e-4d78-9a06-80b359078566n%40googlegroups.com.


[tw5] Re: Few question about using @@ construction to style the tiddlers

2020-09-06 Thread talha131


Thank you Brian. I was trying to achieve something like this 

li {list-style-type: decimal; } li li {list-style-type: lower-alpha; }

But it seems nesting rules using @@ is not possible.
​

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/f6ba4a84-c607-44c3-8563-3dd90f3e992eo%40googlegroups.com.


[tw5] Re: How do I change the order of already opened tiddlers in the story river?

2020-09-06 Thread talha131
OMG. So simple. 

Thanks a lot, Eric. TW is powerful, but it is made even more robust by 
active gurus like you.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/3bd55ad5-b3e8-4c02-8705-0787af98o%40googlegroups.com.


[tw5] How do I change the order of already opened tiddlers in the story river?

2020-09-06 Thread talha131
Say I have opened four tiddlers.

1. A
2. B
3. C
4. D

Is it possible to change the order so that C comes on top? Like so

1. C
2. B
3. A
4. D

I am not trying to keep the tiddler C always on top. I want to change the 
order temporarily in the story river.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/df95549c-fe63-4490-b73f-4ce19c05db80o%40googlegroups.com.


[tw5] Re: How do I show summary or caption field of a tiddler in the story river?

2020-09-04 Thread talha131
Found a hint here 
https://kookma.github.io/TW-Scripts/#Show%20a%20Summary%20on%20Tiddler

Looking more into it.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/a8f2c9dc-d109-4779-9982-e49fe4915250o%40googlegroups.com.


[tw5] How do I show summary or caption field of a tiddler in the story river?

2020-09-04 Thread talha131
I understand that we can set custom fields of a tiddler. We can filter 
tiddlers using the fields or access them in macros. 

Currently a tiddler shows title, author, date and content in view mode.

How do I change the TW to show content of summary field too if it is 
available? 

Is it possible to enable the setting for all the tiddlers?


-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/0eecca35-0a2c-4cc8-99cb-2327ad6c06f1o%40googlegroups.com.


[tw5] Re: Is it possible to use unicode emoji as icons?

2020-09-04 Thread talha131


Thank you Eric, this is very useful.
​

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/7380f6de-e8b2-40de-9ce3-242dcc0d0773o%40googlegroups.com.


[tw5] Is it possible to use unicode emoji as icons?

2020-09-04 Thread talha131
I understand that you can add an image to TW and then use it as icon for 
tiddlers and tags.

Is it possible to use an emoji like  as icon in TW?

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/02a47d50-4d20-44d2-a4b1-287151b06d0do%40googlegroups.com.


[tw5] Re: Is it better to host images externally rather than in TW for performance? [2020 update]

2020-09-04 Thread talha131


Thank you, Mark and Bimlas. 

I did a little digging into the documentation. What I understand, (which 
some user might find useful):

As long as you use TW with NodeJS and lazy load images, you are fine.

If you export the TW to a single HTML (which is how I guess most people use 
TW), then size would pose a problem. In which case, you can use 
externalimages build target. 

tiddlywiki ~/Dropbox/TiddlyNotes --verbose --build externalimages

This command extracts all the images into a separate folder and updates the 
image tiddlers’ _canonical_uri field. This way, the generated HTML file has 
a smaller size.

My take away from all this is that importing images into TW running on 
NodeJS is a non-issue.
​

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/745f787c-bcba-4f89-aad2-858172b6474ao%40googlegroups.com.


[tw5] Re: [Tiddly Research] Public release

2020-09-02 Thread talha131
This is impressive. I have bookmarked and I will explore it in detail later.

Does it have the option to show the links between tiddler visually? 
Something like this,



-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/834c5844-3657-4449-890b-1da206fde82bo%40googlegroups.com.


[tw5] Re: How to avoid loosing work by saving an older copy still open in the browser.

2020-09-02 Thread talha131


You can fix this issue if you make sure your copy of TW is available on all 
your computers.

You can either use an online hosted version or host TW locally on your LAN, 
like using NodeJS or Caddy.
​

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/4b83fb45-ab34-4d54-b6b6-df9a39be78cfo%40googlegroups.com.


[tw5] Few question about using @@ construction to style the tiddlers

2020-09-02 Thread talha131


TiddlyWiki documentation mentions @@ construction here 
.

It says you can do

@@background-color:red;
Your text
@@

How can I use this construction to apply style to a particular element? 
Like,

li {list-style-type: decimal; }

I tried 

@@li {list-style-type: decimal; }

But it does not work.
Question 2 

Document mentions

@@background-color:red;
Your text
@@

But this also works

@@background-color:red;
@@

Your text
More text

Notice that there is no next between @@, but the rule gets applied to the 
whole tiddler.

Is this syntax correct to use? Or is it a bug in TW code?
​

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/3ef77247-987b-4529-9709-669334e1c49ao%40googlegroups.com.


[tw5] Re: Regarding list bullets

2020-09-02 Thread talha131


There is a alternative syntax available that some may find useful.

Created tiddler


.myBullets li {list-style-type: decimal; }
.myBullets li li {list-style-type: lower-alpha; }
.myBullets li li li {list-style-type: lower-roman; }
.myBullets li li li li {list-style-type: circle; }


Then in whichever tiddler you want to use this style use @@ syntax.

! With Style

@@.myBullets
# one
## two
### three
@@

! Without style

# one
## two
### three

[image: Screen Shot 2020-09-02 at 15.59.33.png]
​

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/a1c45796-06e5-4f5a-a656-754bd238ea06o%40googlegroups.com.


[tw5] Re: How to transclude raw contents of a shadow tiddler

2020-09-02 Thread talha131


Tones, can you please share an example of using subtiddlerfields correctly. 
This is what I have tried.

<$list 
filter="""[[$:/core/ui/ListItemTemplate]subtiddlerfields[$:/core]]""" 
emptyMessage="(empty)">

<$link><$view field="title"  />


It shows me “title” and “text”, but I cannot view the actual values of 
“title” or “text” fields. 

On Tuesday, September 1, 2020 at 4:39:12 AM UTC+5, TW Tones wrote:

FYI:
>
> If the shadow has being edited <$text 
> text={{$:/core/ui/ListItemTemplate}}/> will show the updated content, not 
> the original content.
>
> To find the original content you can use the 
> https://tiddlywiki.com/#subtiddlerfields%20Operator but you need to know 
> the plugin it belongs to
>
> Interactive access
>
>- Keep in mind that the editor preview has an option to compare the 
>current overridden shadow with the shadow
>- The Info button on any tiddler > advanced tag tells you the status 
>of shadow tiddlers.
>
> Regards
> Tony
>
> On Monday, 31 August 2020 21:20:30 UTC+10, talha131 wrote:
>>
>> Thanks a lot, Saq. This fixed the issue
>>
>> 
>> <$text text={{$:/core/ui/ListItemTemplate}}/>
>> 
>>
>> ​
>>
> ​

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/8a9ef248-3743-469c-af7b-bc1c00a3d092o%40googlegroups.com.


[tw5] Re: How to transclude raw contents of a shadow tiddler

2020-09-02 Thread talha131


Thank you Tones. For anyone else coming to this thread, this is how you can 
find the “plugin that contains a shadow tiddler”.

For example, to find the source plugin of $:/core/ui/ListItemTemplate, use 
this code

! Show Plugin that contains the Shadow Tiddler

<$list filter="""[[$:/core/ui/ListItemTemplate]shadowsource[]]""" 
emptyMessage="(empty)">

<$link><$view field="title"/>


​

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/d6dcd7e7-d328-4517-ac6a-3a488af787ceo%40googlegroups.com.


[tw5] Re: [OT] Video comparing other note taking tools

2020-09-02 Thread talha131
Tones, you have hit the nail on the head.

TW is insanely powerful, but not everyone has the time and inclination to 
tinker around. This observation is accurate for all the tools, Linux vs. 
Windows for the desktop computers, Vim vs. Visual Studio Code, etc.

I like to customize my tools, and I have done so with many tools I use, 
like my text editor. But I had to take a break from TiddlyWiki 
customization because I was busy in other projects. I tried Obsidian but 
came back to TW, only because I had already collected hundreds of TW notes.

Different TW editions will fix this problem considerably. Like we have 
several Linux distributions to choose from, we should have at least a few 
well maintained TW editions.

Another reason is the lack of a centralized plugin and theme library. If 
customizing TW mostly involved installing and updating a few plugins from 
inside the TW, it would mitigate the difficulty for newbies.

Currently, you have to scour the forum, Dynalist Toolmaps, and some other 
TW to find the appropriate solution.

It's fun to hack, but it requires resources, most important of which is 
time. Not all users are time-rich. 


On Wednesday, September 2, 2020 at 6:37:28 AM UTC+5, TW Tones wrote:
>
> Mat,
>
> Thanks for sharing this. I watched it and I am confident tiddlywiki is 
> ultimately superior, being able to address all, if not most features across 
> the range. The key difference is Tiddlywiki provides the toolset not the 
> finished product, and possibly most people want the finished product to 
> meet the 80/20 rule. What would you prefer one plastic toy or a lego set?, 
> a model crane or a mecano set?
>
> The Pareto Principle, or the 80/20 rule, states that for many phenomena 
>> 80% of the result comes from 20% of the effort
>
>
> It is quite possible that editions of tiddlywiki can be developed to 
> respond in the same way as the named apps. 
>
> However ,where I believe the investment in learning how to build things 
> pay off many times over, is the user can dictate and customise the result, 
> they can innovate, reiterate and evolve their solution. Tiddlywiki is an 
> algorithm storage and activation machine among many other things.
>
> However it costs time and money to polish a solution and people are 
> usually happy to get on with the next innovation, rather dedicate time to 
> polishing the result, that is why tiddlywiki often has a makers and hackers 
> look. However polishing can reduce flexibility and actually involves 
> enforced simplification, so perhaps polished is not as flash as it could be.
>
> Can we join the world of polished solutions with tiddlywiki?, perhaps!, 
> should we ?, I think that is debatable! Not withstanding that, we can make 
> a plugin or package for that polished look.
>
> Personally to me, there is more value entering an open source eco-system, 
> based on common open technologies, than taking a bet on a third party. If 
> Tiddlywiki ceased to be a going concern from tomorrow, I still have a life 
> time of opportunity already on my computer. Through open source, we benefit 
> from the pooling of effort, the wisdom of crowds, diversity of community 
> and generosity of strangers, as well as a culture capable of growth and 
> reinvention.
>
> As someone who monitors innovation in Information Technology, I observe 
> most innovations out there, are amenable to implementation on tiddlywiki, 
> in open source, anything can be done, if you gather a cohort of people who 
> see sufficient value in enabling such innovations. The more the need, the 
> more the likelihood.
>
> Regards
> TW Tones
>
>
> On Wednesday, 2 September 2020 01:12:24 UTC+10, Mat wrote:
>>
>> I didn't listen carefully but it is still an interesting video comparing 
>> the features of some prominent note taking software. It may be 
>> interesting to see what specific features they bring up so if TW wants to 
>> compete then
>>
>> https://www.youtube.com/watch?v=opSENgc45Sw
>>
>> <:-)
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/a021c78c-5ff3-4029-b471-cb4b10185834o%40googlegroups.com.


[tw5] Re: [OT] Video comparing other note taking tools

2020-09-02 Thread talha131
Tones, you have hit the nail on the head.

TW is insanely powerful, but not everyone has the time and inclination to 
tinker around. This observation is accurate for all the tools, Linux vs. 
Windows for the desktop computers, Vim vs. Visual Studio Code, etc.

I like to customize my tools, and I have done so with many tools I use, 
like my text editor. But I had to take a break from TiddlyWiki 
customization because I was busy in other projects. I tried Obsidian but 
came back to TW, only because I had already collected hundreds of TW notes.

Different TW editions will fix this problem considerably. Like we have 
several Linux distributions to choose from, we should have at least a few 
well maintained TW editions.

Another reason is the lack of a centralized plugin and theme library. If 
customizing TW mostly involved installing and updating a few plugins from 
inside the TW, it would mitigate the difficulty for newbies.

Currently, you have to scour the forum, Dynalist Toolmaps, and some other 
TW to find the appropriate solution.

It's fun to hack, but it requires resources, most important of which is 
time. Not all users are time-rich. 

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/29af7ea0-71a4-4410-8e04-9f79c566f777o%40googlegroups.com.


[tw5] Re: I messed up the config and now Page Controls is missing

2020-09-01 Thread talha131


Thank you Tones for sharing your knowledge. These were new to me.

Until you showed me I did not know these SideBarSegments visibility 
tiddlers existed.

Right. Surprisingly, docs did not have anything on this special config 
title. It is mentioned at only one place.

https://tiddlywiki.com/#Page%20and%20tiddler%20layout%20customisation
​

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/783b9f73-c130-4217-8301-8604818c5e23o%40googlegroups.com.


[tw5] Is it better to host images externally rather than in TW for performance? [2020 update]

2020-09-01 Thread talha131


I can host images on any free host online like Imgur and then use its link 
inside a tiddler. The drawback is that image won’t load if I am offline.

On the other hand, I can add an image to TW and reference it inside 
tiddlers. My notes will be self-contained. But I am not sure how it will 
affect the performance of TW. If it’s not a good idea to add images to TW, 
then the performance hit will become pronounced down the road.

People who have been using TiddlyWiki for long, what has been your 
experience in adding images to TW? What do you recommend?

I asked this question more than two years ago 
.

The consensus then was:

   1. TiddlyWiki performance degrades when its size increases, especially 
   on mobile. 
   2. On NodeJS, use tiddlywiki --listen 
   root-tiddler=$:/core/save/lazy-images 
   3. OR use relative paths for the images and store images outside the TW, 
   but on your hard disk drive. 

Now that two years have passed and TW has improved a lot, with several new 
features. What’s the status now? *What’s the recommended way of adding 
images to TW?*
​

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/a628f8b0-29a5-4bb1-b382-2d504dd00fceo%40googlegroups.com.


[tw5] Re: Moving Goodreads books to your TW

2020-09-01 Thread talha131


This is a great idea. Are you using any specific theme for maintaining your 
bookshelves in TW?
​

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/6312cffe-9e10-47be-9c7d-789176de9c81o%40googlegroups.com.


[tw5] Re: TranscludeWidget is very slow to load when used from a template

2020-09-01 Thread talha131


Thank you all of you. You people have fixed a major headache for me. Using


tiddlywiki --listen root-tiddler=$:/core/save/lazy-all

was the issue.

I replaced it with 

tiddlywiki --listen *root-tiddler=$:/core/save/lazy-images*

and this fixed the issue.

I never guessed that lazy-all could be the reason, because my TW used to 
work perfectly.
​

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/d6293485-bfda-47db-b771-b5eb4aadec0eo%40googlegroups.com.


[tw5] Re: How to transclude raw contents of a shadow tiddler

2020-09-01 Thread talha131


Keep in mind that the editor preview has an option to compare the current 
overridden shadow with the shadow

Thank you Tones. This is valuable. I was not aware of this feature.
​

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/b7f04441-b7a7-4482-9d28-fa5a2e04e127o%40googlegroups.com.


[tw5] Re: TranscludeWidget is very slow to load when used from a template

2020-08-31 Thread talha131
More information 

I am running TW from nodeJS, which shows this slow behaviour. But the HTML 
file built from the tiddlers does not have any performance issue.

So my guess is, *TW running on NodeJS has performance issue*.
​

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/7ce24723-2150-4ff3-a258-d3781bfc1162o%40googlegroups.com.


[tw5] Re: TranscludeWidget is very slow to load when used from a template

2020-08-31 Thread talha131


I tried a different widget, toc but the delay is still present, though the 
delay is much shorter than before. But it is not instantaneous.

>

​

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5184bdb2-5392-45db-8118-113a4e8301a0o%40googlegroups.com.


[tw5] Re: TranscludeWidget is very slow to load when used from a template

2020-08-31 Thread talha131


Thank you. I have tried retain="no", *but the result is still the same*. It 
still takes more than 30 seconds to load the tiddler.
​

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/d1d2c105-28f2-41ef-b6e1-f1d3e6ec2e37o%40googlegroups.com.


[tw5] Re: Convert node.js version to single-file html

2020-08-31 Thread talha131


Use this command

tiddlywiki  --verbose --build index

More details

   1. 
   
https://tiddlywiki.com/#How%20to%20build%20a%20TiddlyWiki5%20from%20individual%20tiddlers
 
   2. https://tiddlywiki.com/#BuildCommand 

​

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/800df8d2-22d0-482b-bfd3-c5aeb07b799eo%40googlegroups.com.


[tw5] Re: tiddlywiki separation of from a single file?

2020-08-31 Thread talha131


I do not understand you completely.

that works like tiddlywiki as far as the user is concerned but backend 
doesnt save to the same html file

I run TiddlyWiki from NodeJS. All my tiddlers are stored in individual .tid 
files, which then I convert to html when necessary. 
​

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5941c94c-c336-4436-bf4e-83d2877a0e59o%40googlegroups.com.


[tw5] Re: How to transclude raw contents of a shadow tiddler

2020-08-31 Thread talha131


Thanks a lot, Saq. This fixed the issue


<$text text={{$:/core/ui/ListItemTemplate}}/>


​

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/f5924424-8711-422a-ab17-bcc331475d86o%40googlegroups.com.


[tw5] Re: I messed up the config and now Page Controls is missing

2020-08-31 Thread talha131


I fixed this issue. I was trying different themes. One theme had added a 
tiddler 

$:/config/SideBarSegments/Visibility/$:/core/ui/SideBarSegments/page-controls

Removing this tiddler fixed the issue.
On Monday, August 31, 2020 at 2:43:32 PM UTC+5 talha131 wrote:

> (Google groups messed up my images in my original message)
>
> How it should look
>
> [image: Screen Shot 2020-08-31 at 14.28.22.png]
>
> vs how it is
>
> [image: Screen Shot 2020-08-31 at 14.34.47.png]
>
>
>
> On Monday, August 31, 2020 at 2:40:59 PM UTC+5 talha131 wrote:
>
>>
>>
>> I was editing my TiddlyWiki configuration and somehow messed it up. Now 
>> Page Controls are not visible. 
>>
>> How it should look. 
>>
>>
>>
>> How it is 
>>
>>
>>
>> I suspect that I have deleted some state tiddler or messed up the default 
>> theme. 
>>
>> Kindly guide me on how to fix it. 
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/91a9172c-c875-404f-9eac-6c60cc5bfbc6n%40googlegroups.com.


[tw5] How to transclude raw contents of a shadow tiddler

2020-08-31 Thread talha131


Is it possible to transclude the contents of a shadow tiddler?

I want to display raw contents of $:/core/ui/ListItemTemplate inside a 
tiddler.

I have tried

{{$:/core/ui/ListItemTemplate}}

<$transclude tiddler="$:/core/ui/ListItemTemplate" mode="block" />

One shows the link and other the output. Both does not show the content of 
the tiddler.
Why? 

I am actually trying to document my TiddlyWiki configuration inside TW. I 
am trying to write a tiddler in which I describe what changes I have made 
in $:/core/ui/ListItemTemplate. It would be helpful, I can show the raw 
contents along with the description.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/b696f1f1-8a45-4dad-96a4-925769429703n%40googlegroups.com.


[tw5] Re: Google Groups Forum Changes

2020-08-25 Thread talha131


In the new Google Forum, I cannot find my “starred” conversations. So I 
reverted back to the classic UI.

But if this change, forces TW community to switch to a modern forum 
software, then it would be a blessing in disguise for people like me.
On Sunday, August 23, 2020 at 7:32:42 AM UTC+5 TW Tones wrote:

> On mobile,
>
> I find the new Forum on Mobile almost useless, I can't star conversations 
> for later and get a link and more - very disappointing so far.
>
> Regards
> Tony
>
>
> On Saturday, 22 August 2020 16:55:41 UTC+10, TW Tones wrote:
>>
>> Folks,
>>
>> Have you seen the message, at least on the online forum?, where I live, I 
>> tend not to subscribe to emails
>>
>>> The new Google Groups offers all your favourite features with a fresh 
>>> look and will replace classic Groups soon
>>
>>
>> I urge you to look and complain, where it does not at least provide 
>> equivalence. Google Groups is not perfect but many of us depend on it, so 
>> please do not wait until it is too late.
>>
>> Thanks
>> Tones
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/99279228-2cae-41b7-ac6f-2e4a4ad68e82n%40googlegroups.com.


[tw5] Re: What is the TiddlyWiki markup for creating an image link?

2020-08-25 Thread talha131


I think I have solved the issue.

I will have to use link widget for links to tiddler and a raw  HTML tag 
for external links.
On Tuesday, August 25, 2020 at 8:34:59 PM UTC+5 talha131 wrote:

> I want an image, clicking on which will open a link.
>
> I know I can add an image using
>
> ```
> [img[$:/talha131/Image/ThinkOutsideTheDatabase]]
> ```
>
> I can add a link using
>
> ```
> [[Link Title|https://example.com]]
> ```
>
> I want to have an image in place of "Link Title". Is it possible in the 
> TiddlyWiki style of markup?
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/514e60f5-111f-457a-9fd7-6c8a77893b14n%40googlegroups.com.


[tw5] What is the TiddlyWiki markup for creating an image link?

2020-08-25 Thread talha131
I want an image, clicking on which will open a link.

I know I can add an image using

```
[img[$:/talha131/Image/ThinkOutsideTheDatabase]]
```

I can add a link using

```
[[Link Title|https://example.com]]
```

I want to have an image in place of "Link Title". Is it possible in the 
TiddlyWiki style of markup?

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/f12701b3-e49c-4d42-a4e4-ecf241fa6840o%40googlegroups.com.


[tw5] Re: How do I show tags along with tiddler title in the search result?

2019-06-19 Thread talha131


I don’t know exactly where, but I seen you earlier, maybe somewhere in the 
Vim era.

I too recall you from somewhere but can’t put my finger on it. ☺️It’s 
probably from Vim, perhaps #vim irc channel. I used to be active on it 
couple of years ago. :)
​

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/b1a53d8d-26c8-4333-8d9f-0d28c9f3e993%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: How do I show tags along with tiddler title in the search result?

2019-06-17 Thread talha131
What I was looking for 

See these images

I was searching for the word diff and json. These are common words in the 
programming world and more than one topics have tiddlers on it. I needed a 
simple way to tell these tiddlers apart with a glance.

I didn’t need to narrow down my search via tag or open other tiddlers from 
the tag pill. Just wanted to have a little bit context in the search result 
that a tiddlers is from which topic. 
Feedback on Locator 

It’s a powerful plugin. 

   1. Its documentation can certainly be improved. It wasn’t clear that you 
   need to add some tiddlers to get it working. 
   2. Usage is not clear either. If you add a gif or YouTube video it will 
   certainly be helpful 

My take away is that it’s useful for users who have thousands of tiddlers 
with hundreds of tags in the TW. So far I have only 663 tiddlers and 77 
tags, so TW default search is good enough. For now.
​

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/578316a5-6770-442e-9be5-f4e6fd8e3476%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: How do I show tags along with tiddler title in the search result?

2019-06-17 Thread talha131
Thank you bimlas. Much appreciated. I did give it a try. It's not the 
solution I was looking for.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/fc04e5b5-bbac-4c72-aa8d-5db8969ad31c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: How do I show tags along with tiddler title in the search result?

2019-06-15 Thread talha131


Thanks a lot Mat. My issue has been solved.

<$link to={{!!title}}><$view field="title"/>
   <$list filter={{!!tags}}>
  <$macrocall $name=tag-pill tag={{!!title}} />
   

​

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/6855447a-09aa-4086-a13b-7a56c6c85086%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: How do I show tags along with tiddler title in the search result?

2019-06-15 Thread talha131


<>

works fine.

It’s the <> macro that is not working.

you must surround the macrocall with a listwidget so that the macrocall 
only deals with one tag at a time.

Can you point me to any example where listwiget is used in this way?
​

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/e258a556-75b8-41ae-8987-61dc4b62086d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: How do I show tags along with tiddler title in the search result?

2019-06-15 Thread talha131


Thank you Mat for the details.
--

I think what I want to do can be achieved by editing 
$:/core/ui/ListItemTemplate.

It reads

<$link to={{!!title}}><$view 
field="title"/>

I just need to add 

<>

*What I can’t figure out is* how to pass the current tag to the tag-pill 
macro. I have tried

<><$macrocall $name="tag-pill" tag=<<__tags__>> />

But they didn’t work. Of course my syntax is incorrect but I can’t figure 
out the correct one.
​

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/59085355-f63f-4cd9-ba19-c2556e375e26%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: How do I show tags along with tiddler title in the search result?

2019-06-15 Thread talha131


(BTW, the syntax for this is about to be improved in the 
very-soon-to-be-released 5.1.20 version.)

I am actually using 5.1.20 pre release. Can you please point me to the 
documentation of the to be release version?
​

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/29e3af52-702b-49da-b2bf-80d75ea5cb94%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] How do I show tags along with tiddler title in the search result?

2019-06-14 Thread talha131
I use tags to organize my tiddlers. In search result only title of the 
tiddlers is displayed. I want it to also show the tags of the matching 
tiddlers.

### Use Case

Say I have two tiddlers about `JSON`. One is for JavaScript and the other 
one has details about JSON in golang.

When I search for JSON, the result shows both the tiddlers but I have no 
way of knowing which tiddler is the one I am currently interested in.

### Work around

I can add description in the title like `JSON in Golang` but it makes 
titles too long. And if I have to add tags in the title then it defeats the 
purpose of the tags field.

### Nearest solution

So far, the only solution I have found is

Context Plugin — search with context  

But it has not been updated since 2014. Moreover, it shows too much 
information when all I need is a tag.

Please let me know how can I modify search results to shows tags and title.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/0f3be364-13d1-438b-a059-ac57eaacaa17%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: What are $:/rev/20180916.04:09:42.tid files?

2019-05-23 Thread talha131


Thank you Tony and Mario.

What type of tiddlywiki install are you using, browser, operating system 
and plugins? Especialy how do you save your wikis.

I am running pre-release version of tiddlywiki from nodejs. These are the 
plugins I have

I think a while ago I tried a version control plugin (developed by JD) and 
then removed it. These files could the remnants of that plugin.
​

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/1ce2ba8e-fbf3-4d3b-97f4-c13d8430fd37%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] What are $:/rev/20180916.04:09:42.tid files?

2019-05-23 Thread talha131


I notice that my tiddlers have lots of files that start with $:/rev/. It 
seems they are autogenerated. What are these for?

​

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/dff4592c-55dd-4096-8d52-fcb34d10170f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: GitHub Saver and Possible Collaboration

2019-04-14 Thread talha131


we can figure out a way to serve the repository ‘node.js’ style, that 
splits up the single-file into multiple, which I think will make forking 
and pull requests more manageable, as you can track changes much easier 
that way. 

100% agree with you. Serving the repository using nodejs makes forking, 
reviewing and collaboration much easier. Mohammad has been using Travis to 
do it for one of his project.

All the content is split into multiple tiddlers from which a single 
index.html is generated by Travis and served via Github pages.

Problem is we all are used to TW UI to add and edit tiddlers. None of us 
creates a new tiddler using a text editor, sets the meta data fields and 
then edit content field. We open TW, click the add button to add a new 
tiddler.

So we need a way that when user edits a TW hosted on Github/GitLab pages, 
it would be saved as an individual tiddler file.

In my local setup, I run TW using nodejs. All my tiddlers are automatically 
stored as single files. Something similar is needed for Github.
​

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/47ec956b-429e-4761-8788-764fb42b5692%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw5] When syncing TW, modified date of duplicate tiddlers is updated

2019-04-08 Thread talha131
Thank you Jeremy.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/111c476e-c7c5-483d-a86b-75a0aa8b39cf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: When syncing TW, modified date of duplicate tiddlers is updated

2019-04-07 Thread talha131


Thank you Tony. I tried disabling the timestamps but it didn’t affect the 
imported tiddlers.

First I disabled the timestamps. The tiddler $__config_TimestampDisable.tid' 
got ayes` in its body.

Then I started the import. I noticed that $__config_TimestampDisable.tid' 
file was also in the import list. I unchecked it so that is not imported.

Then I imported the rest of the tiddlers. 

The end result was that the modified date of all the tiddlers were updated.

I think the solution is to either

   1. Disable timestamps should mean timestamps are not updated for created 
   or modified fields when tiddlers are imported 
   2. Or a better way to report duplicate tiddlers when importing a TW 

​

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/2c29adac-ed37-4ac8-bc7c-d0bd940e9bee%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] When syncing TW, modified date of duplicate tiddlers is updated

2019-04-06 Thread talha131


I have a TW running on nodejs and stored in Git. Each tiddler is a separate 
file. 

When I have to sync another copy of the same TW, I drop the TW.html file on 
it. TW is smart enough to create the new tiddlers.

The tiddlers that are already present and have not changed, their modified 
date is updated.

How do I tell TW that if a tiddler is already present and its content has 
not changed then do not touch its modified date?

Or how to tell TW, when importing another wiki, do not copy the modified 
date?
​

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/7ff79943-c3b4-4548-ac4a-a7c02558c83a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: How to change the language menomic that highlightjs uses?

2019-04-06 Thread talha131
See this thread

https://groups.google.com/forum/#!topic/tiddlywiki/LUFCr2-KcP0

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/89f28a6a-013d-4cda-bb7f-8ac3ce5c19d5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Why highlight.js language alias does not work?

2019-04-06 Thread talha131
Highlight.js lets you use aliases for languages. It's list of aliases is 
[available 
here](https://highlightjs.readthedocs.io/en/latest/css-classes-reference.html#language-names-and-aliases).


According to it, both of the following code blocks are similar

```
```javascript
```

```
```js
```

But in TW, `js` does not work for javascript, or any alias for other 
languages.

I looked into the [source code of highlight.js plugin in 
TW](https://github.com/Jermolene/TiddlyWiki5/blob/master/plugins/tiddlywiki/highlight/files/highlight.pack.js).

After prettifying it, it was clear that aliases for each language were 
defined in the highlight.js source code.

Then I looked up the code of 
[highlightblock.js](https://github.com/Jermolene/TiddlyWiki5/blob/master/plugins/tiddlywiki/highlight/highlightblock.js).

What I understand, this line of code is used to see if language is 
supported by the plugin or not

```js
if(language && hljs.listLanguages().indexOf(language) !== -1) {
```

`listLanguages()` method does not support aliases. It only returns a list 
of full name of supported languages.

Its API has another method 
[getLanguage()](https://highlightjs.readthedocs.io/en/latest/api.html#getlanguage-name)
 
that supports aliases. So

```
hljs.getLanguage('javascript') // Object
hljs.getLanguage('js') // Object
hljs.getLanguage('blahblah') // undefined
```

So changing the offending line with 

```js
if(language && hljs.getLanguage(language)) {
```

fixed the issue in my tests. I have submitted a PR with this patch

https://github.com/Jermolene/TiddlyWiki5/pull/3898/files

I am writing it in detail in here so that if my understanding is incorrect 
then someone would correct me and suggest a proper solution.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/d5c412e8-30c9-4513-a460-c31852afc4b9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] How to change the language menomic that highlightjs uses?

2019-04-01 Thread talha131


Hightlightjs expects language name to be provided before code block like

```javascript

I want to use other word like js to get the same syntax highlight?

```js

How do I do it?
​

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/367eaa5c-266c-4da8-8589-5bb4e70af16e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Installing the vim keymapping with the Code Mirror Editor Plugin 5.1.19 on TW5 5.1.19?

2019-03-26 Thread talha131


I am not clear what error you get, but you might find solution in this 
thread

https://groups.google.com/forum/#!searchin/TiddlyWiki/codemirror$20vim%7Csort:date/tiddlywiki/fKKBGPfG7lU/o41HgFWvBQAJ
​

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/0e462b93-4174-4f52-af17-99c4baed2b3f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: CodeMirror Keymap: Vim plugin seems to be causing an error

2019-03-26 Thread talha131


I gave a try to codemirror and its Vim keymap again. It turned out then I 
need all following plugins to make codemirror work with Vim keymaps

"tiddlywiki/codemirror",
"tiddlywiki/codemirror-closebrackets",
"tiddlywiki/codemirror-keymap-vim",
"tiddlywiki/codemirror-search-replace",

Hope someone else will find it useful.
​

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/9608cf9f-e184-4478-8c49-4f989119c76a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw5] TiddlyWiki .md Files

2019-03-20 Thread talha131
Thank you.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/b3f2bc24-08ad-401c-b584-554db4766ed8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


  1   2   >