[tw5] Get Raw text output from Javascript macro

2019-03-01 Thread Mohammad
In TW macro the below pragma \rules only prevents the macro output from wikification! Is there such a practice for Tiddlywiki JavaScript macro? I mean how prevent TW from wikification of a JS macro output or how get the *raw text* as output? --Mohammad -- You received this message

[tw5] Re: [CSS] simple quotes in content

2019-03-01 Thread S. S.
Does this work? .email::before { content: attr(data-de) "'""'"; } te...@gmail.com -- 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

[tw5] Re: [CSS] simple quotes in content

2019-03-01 Thread oxydum
To see the problem, try to replace quotes ; .zemail::before { content: attr(data-de) ""; } t...@gmail.com in the line : content: attr(data-de) ""; by : content: attr(data-de) ''; Le vendredi 1 mars 2019 11:06:41 UTC+1, S. S. a écrit : > > Does this work? > > >

[tw5] Re: Briefly highlighting the tiddler I just clicked in the sidebar when it doesn't otherwise move

2019-03-01 Thread Jack Baty
That looks handy, thanks. On Friday, March 1, 2019 at 2:00:59 AM UTC-5, Thomas Elmiger wrote: > > https://tid.li/tw5/plugins.html#%24%3A%2Fplugins%2Ftelmiger%2FMyStory > > Guess a link might be helpful. > -- You received this message because you are subscribed to the Google Groups

[tw5] Re: Section Names using ID for internal Links

2019-03-01 Thread TonyM
S S Great work furthering this. The desire for in tiddler anchors is an old one. A lot of new users coming from html and related areas quickly ask us for this. Perhaps in part because of the way a lot of open tiddlers can be displayed in the story or people build large tiddlers until they

[tw5] TW5-Navigator and Preview in the same wiki?

2019-03-01 Thread Swicky
Hello! I'm trying to put BurningTreeC's Navigator plugin and Tobibeer's Preview plugin in the same wiki. However, I'm having a little trouble, and can't figure out why. With Navigator, escapecss[]

[tw5] Re: Retrieving from a data dictionary, different results for transcluding using alphanumeric

2019-03-01 Thread Joshua Fontany
Hmmm, this is odd. I tried on Tiddlywiki.com (5.1.19) by recreating your data-tiddler, and then trying some basic transclude tests. Here are the results. {{Available List##Hamlet}} {{Available List##Village}} These both transcluded the FULL text of the tiddler(?!?), while non-existent indexes

[tw5] Re: TiddlyWiki's Killer App

2019-03-01 Thread @TiddlyTweeter
Ciao Greg Molyneux I hope you don't mind me hacking that post? I thought it very good and worth attending. I cut it down a bit. But, basically, think it should be read as its obviously a reflection of real direct longer term experience. IMO, there is a huge danger with TW of getting caught

[tw5] Re: Retrieving from a data dictionary, different results for transcluding using alphanumeric

2019-03-01 Thread Shareen
Hmm, I wonder if there were changes between 17 (which is what I am using) and 19. That both {{Available List##Hamlet}} and {{Available List##Village}} returned the full text is.. odd... The JSON tiddler did not seem to return anything when Ihad both alpha and numeric... This did work, once I

Re: [tw5] Announcing the new "Browser-Storage" plugin

2019-03-01 Thread TonyM
Jeremy, I imagine users may be a little reluctant to use this if they think they will loose tiddlers they have not saved to file. If this is the case perhaps *Click this button to clear browser storage and disable its use:* *all tiddlers loaded from local storage remain in this wiki until

[tw5] Re: Retrieving from a data dictionary, different results for transcluding using alphanumeric

2019-03-01 Thread Eric Shulman
On Friday, March 1, 2019 at 2:20:03 PM UTC-8, Shareen wrote: > > Does anyone know if I am calling this correctly? > ... > Hamlet: <$wikify name=randy text=< dice_add:'0'>> ><$transclude $name="Available List" > index=<>/> > You've used the wrong parameter name in the $transclude widget! It's

[tw5] Re: TiddlyWiki's Killer App

2019-03-01 Thread Greg Molyneux
:) I don't mind the hacking at all - that pretty well sums it up. Regards, Greg On Friday, March 1, 2019 at 1:13:09 PM UTC-8, @TiddlyTweeter wrote: > > Ciao Greg Molyneux > > I hope you don't mind me hacking that post? I thought it very good and > worth attending. I cut it down a bit. >

[tw5] Retrieving from a data dictionary, different results for transcluding using alphanumeric

2019-03-01 Thread Shareen
I am using data dictionaries to generate details for randomly generated stuff (in this case towns) for tabletop gaming. I found that using either alpha or numeric calls work for dictionaries filled with a mix of alpha and numeric: {{Datadictionary Name##AlphaOrNumericIndex}}, yay! However, the

[tw5] Re: Retrieving from a data dictionary, different results for transcluding using alphanumeric

2019-03-01 Thread Joshua Fontany
Neat use-case! I will have to poke at this. My JsonMangler plugin is also intended for use in a tabletop gaming wiki, but I have not played around with the other style Data Tiddler. But what you are most likely running into is that *{{this}}* is a shortcut for a pair of nested widgets:

[tw5] Re: Retrieving from a data dictionary, different results for transcluding using alphanumeric

2019-03-01 Thread Joshua Fontany
More testing. Its definitely the $wikify widget causing this weird behaviour. I changed the Village data to: <$transclude $name='Available List' index='1'/> And it worked fine. Still poking around. Are the contents of Data Tiddlers wikified before they are accessed? That would be odd...

[tw5] Re: TW5-Navigator and Preview in the same wiki?

2019-03-01 Thread BurningTreeC
Hi @Swicky, Tobibeer's preview plugin overwrites the same shadow tiddler as the navigator plugin ($:/core/modules/utils/dom/popup.js) the preview plugin relies on the "cancel" method in its popup.js, which is not there in the navigator-popup.js ... the navigator plugin has a different popup

[tw5] Re: Retrieving from a data dictionary, different results for transcluding using alphanumeric

2019-03-01 Thread Shareen
Thanks! I gave it a try... <$tiddler tiddler="Available List"><$transclude tiddler="Available List" index="Hamlet"/> returns nothing =( On Friday, March 1, 2019 at 2:37:12 PM UTC-8, Joshua Fontany wrote: > > Neat use-case! I will have to poke at this. My JsonMangler plugin is also > intended

Re: [tw5] Re: Announcing the new "Browser-Storage" plugin

2019-03-01 Thread TonyM
Jeremy, Understood > I’m not keen to support session storage because it makes things more > complicated without addressing any new use cases. > > >- I am struggling a little with the workflow to configure and deploy >Wikis with Local storage since once activated it starts using local

[tw5] Re: TiddlyWiki's Killer App

2019-03-01 Thread Greg Molyneux
Josiash, :) To be completely fair, I - or anyone else on the list - may identify as any of the 100+-ish genders being thrown around in popular culture these days. But since English doesn't deal well with gender neutral pronouns, I just went with "guys", and figure anyone who really wants to

[tw5] Re: TiddlyWiki's Killer App

2019-03-01 Thread Greg Molyneux
Tony, I agree, most things do work well together. The one that sticks out in my mind at the moment was Magic tabs not working well with my task management integration, and not working at all when I tried to switch to Dropboard to do task management. There where other things that went

Re: [tw5] Section Names using ID for internal Links

2019-03-01 Thread Jeremy Ruston
Hi SS Well done, this is pretty interesting. As a sidebar, I’ve thought about enabling anchors before, thinking that we’d need a new mechanism to enable us to suppress the usual navigation behaviour when the location hash changes (the bit after the # of the URL). You’ve actually found a bug

Re: [tw5] Re: Announcing the new "Browser-Storage" plugin

2019-03-01 Thread 'Mark S.' via TiddlyWiki
You've mentioned wanting a back-up before doing batch changes. The problem with backups is that the data has to be stored *somewhere*, and a single operation could conceivably almost double the number of tiddlers in your collection. I'm wondering if the storage plugin could provide a solution.

[tw5] Re: Section Names using ID for internal Links

2019-03-01 Thread S. S.
I was quite surprised when it worked. It was very unexpected! The tiddler attached in my first post works perfectly, but the explanation used a single # in a few places where it should have been a double ##. Attaching an updated corrected tiddler. -- You received this message because you are

[tw5] [CSS] simple quotes in content

2019-03-01 Thread oxydum
Hi, Maybe a problem with the wikitext parser : Don't Work: .email::before { content: attr(data-de) ''; } t...@gmail.com Work: .email::before { content: attr(data-de) ""; } t...@gmail.com So... How to make this work: https://codepen.io/danwilson/pen/WpBEBX Thx -- You

[tw5] Re: TiddlyWiki's Killer App

2019-03-01 Thread @TiddlyTweeter
Greg Molyneux wrote: > > Hey guys, > (nb: I may be a woman :-) VERY interesting post. Thanks! > ... When I start to get too fancy with more than a few plugins or bits of > code, I find that one will break another, or not work well with something > else. > FWIW, on the whole TW has

[tw5] Re: Section Names using ID for internal Links

2019-03-01 Thread BurningTreeC
> > > >> It's best experienced - and the tiddler says it better than pasting it >> here. >> >> Please drag the attached tiddler into https://tiddlywiki.com/ and >> import. >> In the side bar, Click the the Recent tab, and open the tiddler. >> > > NIIICE! thank you S.S.! > >> >> Click

[tw5] Section Names using ID for internal Links

2019-03-01 Thread S. S.
It's best experienced - and the tiddler says it better than pasting it here. Please drag the attached tiddler into https://tiddlywiki.com/ and import. In the side bar, Click the the Recent tab, and open the tiddler. Click the links at the top and within the tiddler, and then please read it

[tw5] Re: Briefly highlighting the tiddler I just clicked in the sidebar when it doesn't otherwise move

2019-03-01 Thread BurningTreeC
Hi @Jack Baty, there would be a way that involves editing the storyview javascript tiddler ... that solution would be nice to have in the core, it just adds a class to the tiddler when it's being navigated and removes it after the interval of the animation duration has passed. using a

[tw5] Re: Briefly highlighting the tiddler I just clicked in the sidebar when it doesn't otherwise move

2019-03-01 Thread BurningTreeC
> > Hi @Jack Baty, > > there would be a way that involves editing the storyview javascript > tiddler ... that solution would be nice to have in the core, it just adds a > class to the tiddler when it's being navigated and removes it after the > interval of the animation duration has passed. >

[tw5] Re: Space slimming via the HTML tag :-)

2019-03-01 Thread @TiddlyTweeter
Thanks Thomas Eek! I was surprised that an HTML comment worked to do that too. That doesn't seem right! ... Yours Dr. Watson Junior. Thomas Elmiger wrote: > > These work too: > > > ''My Later Headline'' > > > > > <> > -- You received this message because you are subscribed to the Google

[tw5] Re: Briefly highlighting the tiddler I just clicked in the sidebar when it doesn't otherwise move

2019-03-01 Thread TonyM
Jack, As I understand it the current tiddler, or last navigated to will appear at the top of the history list. A tiddler tagged for the view template may be able to query the history list to see if the current tiddler is first in the history list and if so highlight this fact. Perhaps this

[tw5] Re: Section Names using ID for internal Links

2019-03-01 Thread BurningTreeC
> It's best experienced - and the tiddler says it better than pasting it > here. > > Please drag the attached tiddler into https://tiddlywiki.com/ and import. > In the side bar, Click the the Recent tab, and open the tiddler. > NIIICE! thank you S.S.! > > Click the links at the top and

[tw5] Re: Briefly highlighting the tiddler I just clicked in the sidebar when it doesn't otherwise move

2019-03-01 Thread Jack Baty
I think you're onto something here! I'll tinker with it, thank you. On Friday, March 1, 2019 at 7:43:28 AM UTC-5, BurningTreeC wrote: > > Hi @Jack Baty, > > there would be a way that involves editing the storyview javascript > tiddler ... that solution would be nice to have in the core, it just

[tw5] Re: [CSS] simple quotes in content

2019-03-01 Thread oxydum
Yes! This is perfect it works like a charm ;) \rules except bold underline strikethrough subscript superscript italic dash https://github.com/Jermolene/TiddlyWiki5/blob/master/core/modules/parsers/wikiparser/rules/dash.js Thank you so much -- You received this message because you are

[tw5] Re: [CSS] simple quotes in content

2019-03-01 Thread BurningTreeC
Just to make "the problem" visually clear: the wikiparser takes this code: .zemail::before { content: attr(data-de) ''; } te...@gmail.com and creates this: .zemail::before { content: attr(data-de) ; } te...@gmail.com but it ignores the double '' if \rules

[tw5] Tiddlywiki Components

The current status of Tiddlywiki allow creating complex UI and operation. This is while many of us may don't like to put time and developing scripts of have not the knowledge of TW programming. So, I though, it may be great to have Tiddlywiki components. *What is a component?**A component is a

[tw5] Re: Tiddlywiki Components

What is the benefits of TW component - Complex UI and operation can be as simple as a macro call - Save time and prevent many duplicate coding - Ability to develop more elegant apps by moderate, newbie users Cheers Mohammad On Friday, March 1, 2019 at 5:46:56 PM UTC+3:30, Mohammad

[tw5] Re: Tiddlywiki Components

Note: compSelective is part of Tiddler Commander for Selective delete, add/remove fields, ... --Mohammad On Friday, March 1, 2019 at 5:46:56 PM UTC+3:30, Mohammad wrote: > > The current status of Tiddlywiki allow creating complex UI and operation. > This is while many of us may don't like to

[tw5] Re: Tiddlywiki Components

How to use compSelective <> Example: <> This is a very versatile component. Any combination of complex filters/subfilters can be passed. --Mohammad On Friday, March 1, 2019 at 5:46:56 PM UTC+3:30, Mohammad wrote: > > The current status of Tiddlywiki allow creating complex UI and

[tw5] Re: Tiddlywiki Components

Consistent modular design would enable users like me, very poor at coding, but good at information design, to achieve objectives without having to mess about in code. Its really slowed me down having to get into coding. It is not my strength. Shared modularity seems right. Just an

[tw5] Re: [CSS] simple quotes in content

Very clear @BurningTreeC : thank you that's exactly what I need. There's also an issue for me when I change the name of the class from email to e--mail (yes, with two "--") what kind of rule can I add? Le vendredi 1 mars 2019 15:07:50 UTC+1, BurningTreeC a écrit : > > Just to make "the

[tw5] Re: [CSS] simple quotes in content

Hi @oxydum, if you use the double '' in a tiddler without a given type or with type vnd.tiddlywiki, the wiki-parser will interpret the double-single-quotes as *bold *formatting, which breaks your style definitions you can do two things: 1) put your styles in another tiddler tagged

[tw5] Re: Section Names using ID for internal Links

You could also make a macro like this: \define intlink(id:"", link:"TTT", next:"", previous:"", top:"") !!! ''$link$'' Next <$reveal type="nomatch" stateTitle="$previous$" text=""> Previous Top body { counter-reset: section; } h3::before { counter-increment: section; content:

[tw5] Re: Section Names using ID for internal Links

You could also make a macro like this: \define intlink(id:"", link:"TTT", next:"", previous:"", top:"") !!! ''$link$'' Next <$reveal type="nomatch" stateTitle="$previous$" text=""> Previous Top body { counter-reset: section; } h3::before { counter-increment: section; content:

[tw5] Re: Tiddlywiki Components

That's true! Modular design, modular programming in Tiddlywiki and reuse of already developed modules in headache-less fashion! No need to go deep into the code, just enough to know the interface, like the current Tiddlywiki macros! (e.g. toc, tag, toc-selective-expandable, ...) --Mohammad

[tw5] Re: [CSS] simple quotes in content

> > Very clear @BurningTreeC : thank you that's exactly what I need. > There's also an issue for me when I change the name of the class from > email > > to > e--mail > > (yes, with two "--") > > what kind of rule can I add? > I believe it's called dash, but have a look at the mentioned parser