[tw] Re: [TW5] Releasing 5.1.10

2016-01-01 Thread CL
I think there is one slight adjustment should be made for subtitle date 
template for 5.1.10 which is,

*$:/language/Tiddler/DateFormat*
(DDth MMM  at hh12:mmam)

The current date format does not display minute when I modify tiddler at 
hh:00(min).
I believe this format should be *DDth MMM  at hh12:0mmam*

-- 
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/fb722c3e-91cf-4671-9e97-c31d09153f6d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] TW5 node.js; TiddlyWiki to replace OneNote

2016-01-01 Thread tim O
I currently use OneNote to organize content for documentation of projects, 
server configuration, etc. I need to be able to save images, PDFs, etc. 
with most of my documentation. One of my concerns is that this may slow 
down the general responsiveness of an TiddlyWiki instance.
Who else is using TW as a OneNote replacement? Any feedback for a newcomer?

Thanks

-- 
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/9055edd0-01ed-4073-91ee-0d15faa62310%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] How do I override the default tag pill color?

2016-01-01 Thread Suzanne McHale
I have a lot of tags, and changing each tag's individual background color 
in the Tag Manager is a chore! I would like to do this in my own stylesheet 
if possible, but can't get the class to work (.tagged-background has no 
effect, and there doesn't seem to be an option in the Palette).

-- 
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/b14c0d83-73f7-4193-9060-239884df1860%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] 'Countdown to event' macro

2016-01-01 Thread Hegart Dmishiv
Okay, I've made an attempt 

 
at doing this myself. With my serious lack of programming skills, I've 
cobbled together something from the TiddlyWiki core module 
$:/core/modules/macros/now.js 
 and the 
tutorial 
 
I was looking at earlier. I didn't need the hours, minutes and seconds 
information, so I dropped all that guff. For now I went with only making a 
single call to the macro on loading a tiddler, rather than trying to make 
it dynamically updating at the top of the wiki instance as a MOTD. It 
seemed simpler to just at least display the number of days, once, 
statically.

However, I'm getting a big red Internal Javascript Error dialog box, which 
says "ReferenceError: assignment to undeclared variable DaysToDate". Could 
some kind Javascript guru take a look at my first teetering steps and let 
me know where I went wrong please?

Also, I have no idea of the format to use when calling the macro. What I'm 
trying presently is *<>* but I'm not sure what date 
format it will take. Of course, the preexisting Internal Javascript error 
hampers my efforts so far to quantify 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 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/f78bd74f-5829-4c0b-b21c-2c83e5c3e3d3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: How combine string with evaluated value for a parameter value?

2016-01-01 Thread Felix Küppers
Hi Matabele

> Really useful trick :-) Many thanks for this.

Thanks, sometimes really handy.

-- 
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/BLU436-SMTP64C879389ECBA1D89688B1CEFF0%40phx.gbl.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: How combine string with evaluated value for a parameter value?

2016-01-01 Thread Felix Küppers

>
> Ahaaa - very tricky! I would have never thought of it. I know I'll face 
> this issue again - really valuable!
>

Thanks @Mat

\define =(text,1,2,3,4,5,6,7,8,9,10) $text$

<<= "I am $(currentTiddler)$ in a TW $(version)$. And here is $1$." "foo">>

Ha! Nice @Tobias, didn't think of this. Now we almost got the equivalent to 
"printf" (https://en.wikipedia.org/wiki/Printf_format_string) :D

\define concat(text,1,2,3,4,5,6,7,8,9,10) $text$
 <>

-- 
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/816ce6bd-7c2f-4ab2-9aa3-91c455832c8d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Special request

2016-01-01 Thread David Gifford
Thanks to both Jed and Eric, both of your solutions work great!

I am back in Mexico again, with a serious case of jetlag, after a great 
time in TiddlyWaikiki!

Dave

On Thursday, December 31, 2015 at 8:04:06 AM UTC-10, David Gifford wrote:
>
> Greetings from TiddlyWaikiki!
>
> Heading back to Mexico today, but I got an idea and am wondering how to do 
> it.
>
> I would like to have a viewtemplate item that is basically this:  wrap 
> with CSS [[insert contents of sitetitle here|../folder/insert contents of 
> sitetitle here.html]].
>
> So a tiddler whose $:/SiteTitle is hawaii.vacation would automatically 
> render the following: [[hawaii.vacation|../folder/hawaii.vacation.html]]. 
> And I could give it a class. (the relative path to the folder is something 
> I would manually add)
>
> This would go in a template tiddler in a template TW file. This way, when 
> I export any tiddler to html from any file, the tiddler will already have a 
> relative link to the source file. If I upload to my site, I will make sure 
> the folders match with what I have on my hard drive.
>
> Any ideas how I would do this? I tried this
>
> [[<$view tiddler="$:/SiteTitle" field="title"/>|
> http://recursos.giffmex.org.{{!!SiteTitle}}.html]]
>
> But it doesn't work. Anyway, any help would be appreciated, and I will 
> share here the final results, in case anyone wants to use the idea.
>
> Dave
>
> Dave
>

-- 
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/b73b1ca1-c682-49bd-867f-0f0d1fe598ff%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: How combine string with evaluated value for a parameter value?

2016-01-01 Thread Tobias Beer
Hi Mat,
 

> Just to make sure I get it right, this is only for cases using URI, right?
>

Try to create a permalink for a tiddler containing spaces, or even a 
permaview for multiple tiddlers, including those containing spaces. You'll 
see that you cannot just create the proper link solely with a given title, 
but that it needs to be uri-encoded, so TiddlyWiki knows how to read out 
the contents of the address bar.

In your examples given there to decode... I can't quite tell what is 
> supposedly encoded?
>

The decoding examples are pretty straight forward: First I use the hash 
filter to encode a title, and right after that use it again with the decode 
suffix to decode them back. So, in a way I am proving that, in the end, you 
get back what you started out with. Makes sense?

I could have just taken any cryptic url, but then others may not have 
understood what that url is and why the hash filter does its decoding the 
way it does it. By showing that decoding is simply doing the reverse of 
encoding, I figured, it would be pretty clear what's going on.
 

> Do you think you could refer to the external tiddlers example 
> 
>  
> from tiddlywiki.com/prerelease?
>

What do you mean by that?

...or maybe the different domain prevents this. Plus it no worky worky in 
> Chrome.
>

To be able to create a properly encoded link to any external TiddlyWiki is 
precisely what the *hash* filter is intended for. Simply give it the 
un-encoded title either as an input title or via the operand and it will 
create the proper uri-encoded link for you... but you will have to add the 
proper domain yourself using the *addprefix* operator.
 

> ...but hypothetically; the canonical_uri there is 
>
> ./text/Alice%2520in%2520Wonderland.tid
>
> How would this be decoded? (Or am I just totally misunderstanding something?)
>
>
The problem with these links is that they are DOUBLE uri encoded, for 
reasons I have not quite grasped yet ...so you actually need to decode them 
twice to have them fully decoded:

{{{ [[./text/Alice%2520in%2520Wonderland.tid]hash:decode[]hash:decode[]] }}}

Again, thanks Tobias! You're creating amazing things - and to say you're 
generously sharing is a definite understatement!
>
>
Thanks, Mat... and ...you're welcome. :-)

Best wishes,

Tobias.

-- 
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/bd33a983-1afb-487e-a831-87639520c261%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: How combine string with evaluated value for a parameter value?

2016-01-01 Thread Mat
Tobias,

you may be interested in the new tobibeer/hash 
>  filter plugin (announced 
> here 
> 
> ),
>

Again my warmest thanks to you!

Just to make sure I get it right, this is only for cases using URI, right?

In your examples given there to decode... I can't quite tell what is 
supposedly encoded? Do you think you could refer to the external tiddlers 
example  from 
tiddlywiki.com/prerelease? ...or maybe the the different domain prevents 
this. Plus it no worky worky in Chrome. ...but hypothetically; the 
canonical_uri there is 

./text/Alice%2520in%2520Wonderland.tid

How would this be decoded? (Or am I just totally misunderstanding something?) 


Again, thanks Tobias! You're creating amazing things - and to say you're 
generously sharing is a definite understatement!

<:-)

-- 
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/4c6578e4-9b0e-4987-ad27-cc55a0914dec%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: How combine string with evaluated value for a parameter value?

2016-01-01 Thread Mat
Tobias, thank you!

Setvars is really, really cool!

That's really interesting how vars are called *already in* the setting of 
the other vars!

<:-)


On Wednesday, December 30, 2015 at 2:06:30 PM UTC+1, Tobias Beer wrote:
>
> Hi Mat,
>
> You can easily achieve that using tobibeer/setvars 
> :
>
> <$setvars url="\http://tiddlywiki.com/#\ current" _current=<
> >>
> <>
> 
>
> However, this requires for the tiddler title to not have spaces in order 
> for the link to work with a TiddlyWiki.
>
> While not officially released, here's a little macro module called *x* 
> that does what you want,
> by default pointing to http://tiddlywiki.com:
>
> $:/.tb/modules/macros/x.js 
> 
>  (*code:* tobibeer/tw5-defaults/.../x.js 
> 
> )
>
> *syntax:*
>
>- <>
>- <>
>- <>
>
> If you want it to point to another domain, simply create a global macro 
> called *x-url* and have it return your *base-url*, e.g.:
>
> title: $:/config/x-url
> tags: $:/tags/Macro
>
> \define x-url()
> http://tobibeer.github.io/tw5-plugins
> \end
>
> Alternatively, you can, of course overwrite the *x-url* for each tiddler 
> individually by declaring it at the start:
>
> \define x-url() http://tobibeer.github.io/tw5-plugins
>
> Best wishes,
>
> Tobias.
>

-- 
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/8022679a-5b69-4e6a-ae89-182a786374e3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: How combine string with evaluated value for a parameter value?

2016-01-01 Thread Tobias Beer
Hi Felix,
 

> I know this is an old thread but I just wanted to add my solution.
>

Wow. This is something to ponder:

\define =(text,1,2,3,4,5,6,7,8,9,10) $text$

<<= "I am $(currentTiddler)$ in a TW $(version)$. And here is $1$." "foo">>

Best wishes,

Tobias.

-- 
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/61f90332-4fe1-43e1-9263-3cd79c3d0ce0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: TiddlyWiki markdown plugin - fenced code blocks

2016-01-01 Thread John Doe
Thanks for the reply BJ. I am sorry if i did not describe the problem 
properly previously. Let me restate the problem again:

Only the color highlighting feature from the codemirror is not working with 
the x-marked.
It was working perfectly with the x-markdown plugin that comes with 
Tiddlywiki.

 
After playing around with it for a week i am considering whether to use the 
x-marked or the default wikiText that Tiddlywiki provides. Since there are 
some things i would like to have that are not provided by the x-marked 
plugin. For eg. Linking to other Tiddlers, highlighting text using the 
==Text== syntax, quick css inside the text etc.


On Friday, January 1, 2016 at 3:05:36 PM UTC+5:30, BJ wrote:
>
> I cannot produce a problem with my marked plugin when used with the 
> codemirror plugin and the markdown plugin. This is what i did:
>
> 1.downloaded the tiddlywiki with the codemirror plugin pre-installed from 
> tiddlywiki.com to form a local copy
> 2.dragged the markdown plugin from tiddlywiki.com onto my local copy 
> 3.cloned the tiddler `$:/config/EditorTypeMappings/text/vnd.tiddlywiki` 
> and rename the clone to$:/config/EditorTypeMappings/text/x-markdown
> 4.reloaded my local copy.
> 5.observed the line numberings from the codemirror plugin when editing a 
> tiddler with type set to text/x-markdown.
>
> 6.dragged the marked pluggin from bjtools onto my local copy
> 7.cloned the tiddler `$:/config/EditorTypeMappings/text/vnd.tiddlywiki` 
> and rename the clone to $:/config/EditorTypeMappings/text/x-marked
> 8.reload and when editing a tiddler with type text/x-markdown or 
> text/x-marked I see the line numbers from the markdown plugin
>
> do you have a different setup?
>
> w.r.t the highlight parser option for text/x-marked - this needs another 
> javascript lib to be ported to tiddlywiki for anything to work, so is 
> probably not useful for you.
>
> all the best BJ
>
> On Wednesday, December 30, 2015 at 4:29:56 PM UTC, John Doe wrote:
>>
>> Hi BJ,
>> The codemirror plugin was working with the Markdown plugin (
>> http://tiddlywiki.com/plugins/tiddlywiki/markdown/). However once i 
>> installed your plugin for x-marked, the highlighting has stopped working.
>>
>> On related note, can you please brief me on how to use the Flexitype 
>> plugin to set some options of the marked plugin. I want to set highlight to 
>> true. 
>>
>> Thanks in advance!
>>
>>
>> On Wednesday, December 30, 2015 at 7:41:33 PM UTC+5:30, BJ wrote:
>>>
>>> I have not tried the codemirror plugin, have at look here:
>>> https://github.com/Jermolene/TiddlyWiki5/issues/2059
>>>
>>> cheers
>>> BJ
>>>
>>> On Tuesday, December 29, 2015 at 5:43:06 PM UTC, John Doe wrote:

 Thanks BJ for the excellent plugin and saving the day for me!!

 However, after using your plugin i noticed that codemirror syntax 
 highlighting has stopped working. Do you know that might be the reason?
 I suspect that i will have to set xhtml: false , but i dont know how 
 to set that.

 If anyone else can help me setup syntax highlighting with marked 
 plugin, that would really help! Thanks in advance!!


 On Monday, December 14, 2015 at 1:24:46 AM UTC+5:30, Richard Edwards 
 wrote:
>
> Thanks BJ!
>
> This is very useful to me.  It works very nicely.
>
> On Sunday, November 1, 2015 at 11:12:27 AM UTC-8, BJ wrote:
>>
>>
>> thanks - I'll sort it out.
>>
>> On Sunday, November 1, 2015 at 4:51:16 PM UTC, Matabele wrote:
>>>
>>> Hi
>>>
>>> Thus the confusion -- screenshot from http://bjtools.tiddlyspot.com/
>>>
>>>
>>> 
>>>
>>> regards
>>>
>>> On Sunday, 1 November 2015 18:42:54 UTC+2, BJ wrote:



 On Sunday, November 1, 2015 at 12:17:37 PM UTC, Matabele wrote:
>
> Hi
>
> $:/plugins/bj/small/mdplusdemo/parsers/markapdaper.js throws a 
> javascript error upon reload -- are we supposed to use this plugin or 
> only $:/plugins/bj/small/mdplusdemo. 
>
> If so, with only the latter, your examples don't render. Perhaps 
> this only works with flexitype installed?
>
> yes, you need to use $:/plugins/bj/plugins/marked 

> regards
>
> On Sunday, 1 November 2015 13:44:15 UTC+2, BJ wrote:
>>
>> Sorry I didn't update the site properly, that's the wrong (old) 
>> plugin. I have updated with new instructions,
>> all the best 
>> BJ
>>
>> On Sunday, November 1, 2015 at 5:02:45 AM UTC, Matabele wrote:
>>>
>>> Hi
>>>
>>> Doesn't render if I copy across the markdown plugin -- what 
>>> tiddler type should I be using?
>>>
>>> regards
>>>
>>> On Saturday, 31 Octo

[tw] Re: [TW5] AutoCorrectPlugin: Any Equivalent for Replacing Text Strings

2016-01-01 Thread Tobias Beer
Hi Scott,
  

> Your reference to */regex/mgi* was lost on me, I'm afraid.  Is that a 
> directory? pragma? library? TW tag? plugin?
>

I simply tried to hint at wanting to express regexp patterns... that generally 
look like that 
,
 
whereas the things within the two forward slashes and after the 2nd vary 
depending on your pattern. The tricky bit would be a pattern to replace 
identified capture groups in the replacement text. You may quickly need a 
function to do that, which we obviously can't quite do in a dictionary 
tiddler... unless we did some "eval this replacement value"... which we 
probably better not. ;-)

So, if we had not only a replacement string but a very rudimentary support 
for capture groups and corresponding placeholders in the output that would 
be great, so we can do...

/a pattern (group 1) and (group 2)/mgi: <$some-widget attr="""$1$""">$2$

Actually, without placeholder support using regexp patterns would be rather 
limited.

Best wishes,

Tobias. 

-- 
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/536692b3-6dc6-4ba2-86eb-9f5161dc495a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: How combine string with evaluated value for a parameter value?

2016-01-01 Thread Mat
My goodness! @Felix, to pick up on this old issue is very kind of you! And 
it seems to have really started a flow of useful solutions. Wow!

*The trick is to inject the whole macro body as string.*
>

Ahaaa - very tricky! I would have never thought of it. I know I'll face 
this issue again - really valuable!

Thank you Felix!

<:-)

-- 
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/28d79914-de9e-4243-9f46-e3218273b1d2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Dictionary tiddler and macro funkiness

2016-01-01 Thread Tobias Beer
Hi David,
 

> Was the make plugin recently updated?  The pad part isn't working for me.
>

Indeed, I actually went straight ahead and implemented zero padding 

as per Felix suggestion (announced here 
).

So, yes that's new functionality so you need to update make plugin 
.

Best wishes,

Tobias.
 

>
> On Thu, Dec 31, 2015 at 9:18 AM, Felix Küppers  > wrote:
>
>> Sweet!
>>
>> On 12/31/2015 04:00 PM, Tobias Beer wrote:
>>
>> Hi Felix, 
>>
>> You can use Tobias' make plugin to iterate over numbers till 31 using 
>>> count and max variables 
>>>
>>
>> Haven't thought of that. ;-)
>>
>> Zero-padding the *count* sounds like a good option.
>> I went ahead and implemented it as announced here 
>> .
>>
>> As for *David*, to generate the zero-padded 31 digits you could use:
>>
>> <$list filter="[[]make[%count%\max:31\pad:2]]"/>
>>
>> instead of:
>>
>> <$list filter="01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 
>> 20 21 22 23 24 25 26 27 28 29 30 31"/> 
>>
>> Best wishes,
>>
>> Tobias.
>> -- 
>> 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+...@googlegroups.com .
>> To post to this group, send email to tiddl...@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/9d3abc24-fd06-4ba1-a477-1091d26b8969%40googlegroups.com
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>>
>> -- 
>> You received this message because you are subscribed to a topic in the 
>> Google Groups "TiddlyWiki" group.
>> To unsubscribe from this topic, visit 
>> https://groups.google.com/d/topic/tiddlywiki/1NbjFgAAUkU/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to 
>> tiddlywiki+...@googlegroups.com .
>> To post to this group, send email to tiddl...@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/BLU436-SMTP54204614A66CD86046E0A6CEFE0%40phx.gbl
>>  
>> 
>> .
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> David Allen
>

-- 
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/413c97fe-6ea2-4e20-bdbd-e960002b54b9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Regex String Replacments — Possible? Terrible Idea?

2016-01-01 Thread Tobias Beer
Hi Scott,
 

> Could you write a TW5 Javascript plugin that would perform the same sort 
> of string transformation — but using complex regular expressions?  :-O
>

Sure doable. The question for me would be: Can it be so generic as to not 
be tied to a single process / workflow? ...e.g. "make my type of 
checklists".
 

> I regularly get task lists from my co-workers that I transform into 
> checklists.  Currently, I do this by copying the list to Notepad++, running 
> a saved macro, and copying the output to my TiddlyWiki.  For example, I 
> might get a list like this:
>

Can you perhaps post the the regex and the macro for your above example so 
we get a true feel for the complexity involved and perhaps more 
specifically consider whether or not or how TiddlyWiki could be leveraged 
to try and achieve generic input => output transformations in the first 
place.

Sounds like you want to deserialize some input into an array of items 
holding variables filled by regex pattern matching ...and then serialize 
that with TiddlyWiki componentents / templates... that come with 
appropriate placeholders... and eventually save the lot to some place.

I could imagine some "insert" button in the editor (or a keyboard shortcut) 
that...

   1. opens a modal dialog where I can chose from a (filterable) list of 
   predefined transformation patterns / templates already defined
   2. have an input field to insert my input text
   3. click a button that generates the output text based on the 
   transformation rules / framework
   4. that I get to also edit right and adjust right there
   5. and finally click "ok" to insert the end result at the caret position 
   in the editor

Best wishes,

Tobias.

-- 
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/014b70e8-9ecb-42fd-9c69-cebe5a02583f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: TiddlyWiki markdown plugin - fenced code blocks

2016-01-01 Thread BJ
I cannot produce a problem with my marked plugin when used with the 
codemirror plugin and the markdown plugin. This is what i did:

1.downloaded the tiddlywiki with the codemirror plugin pre-installed from 
tiddlywiki.com to form a local copy
2.dragged the markdown plugin from tiddlywiki.com onto my local copy 
3.cloned the tiddler `$:/config/EditorTypeMappings/text/vnd.tiddlywiki` and 
rename the clone to$:/config/EditorTypeMappings/text/x-markdown
4.reloaded my local copy.
5.observed the line numberings from the codemirror plugin when editing a 
tiddler with type set to text/x-markdown.

6.dragged the marked pluggin from bjtools onto my local copy
7.cloned the tiddler `$:/config/EditorTypeMappings/text/vnd.tiddlywiki` and 
rename the clone to $:/config/EditorTypeMappings/text/x-marked
8.reload and when editing a tiddler with type text/x-markdown or 
text/x-marked I see the line numbers from the markdown plugin

do you have a different setup?

w.r.t the highlight parser option for text/x-marked - this needs another 
javascript lib to be ported to tiddlywiki for anything to work, so is 
probably not useful for you.

all the best BJ

On Wednesday, December 30, 2015 at 4:29:56 PM UTC, John Doe wrote:
>
> Hi BJ,
> The codemirror plugin was working with the Markdown plugin (
> http://tiddlywiki.com/plugins/tiddlywiki/markdown/). However once i 
> installed your plugin for x-marked, the highlighting has stopped working.
>
> On related note, can you please brief me on how to use the Flexitype 
> plugin to set some options of the marked plugin. I want to set highlight to 
> true. 
>
> Thanks in advance!
>
>
> On Wednesday, December 30, 2015 at 7:41:33 PM UTC+5:30, BJ wrote:
>>
>> I have not tried the codemirror plugin, have at look here:
>> https://github.com/Jermolene/TiddlyWiki5/issues/2059
>>
>> cheers
>> BJ
>>
>> On Tuesday, December 29, 2015 at 5:43:06 PM UTC, John Doe wrote:
>>>
>>> Thanks BJ for the excellent plugin and saving the day for me!!
>>>
>>> However, after using your plugin i noticed that codemirror syntax 
>>> highlighting has stopped working. Do you know that might be the reason?
>>> I suspect that i will have to set xhtml: false , but i dont know how to 
>>> set that.
>>>
>>> If anyone else can help me setup syntax highlighting with marked plugin, 
>>> that would really help! Thanks in advance!!
>>>
>>>
>>> On Monday, December 14, 2015 at 1:24:46 AM UTC+5:30, Richard Edwards 
>>> wrote:

 Thanks BJ!

 This is very useful to me.  It works very nicely.

 On Sunday, November 1, 2015 at 11:12:27 AM UTC-8, BJ wrote:
>
>
> thanks - I'll sort it out.
>
> On Sunday, November 1, 2015 at 4:51:16 PM UTC, Matabele wrote:
>>
>> Hi
>>
>> Thus the confusion -- screenshot from http://bjtools.tiddlyspot.com/
>>
>>
>> 
>>
>> regards
>>
>> On Sunday, 1 November 2015 18:42:54 UTC+2, BJ wrote:
>>>
>>>
>>>
>>> On Sunday, November 1, 2015 at 12:17:37 PM UTC, Matabele wrote:

 Hi

 $:/plugins/bj/small/mdplusdemo/parsers/markapdaper.js throws a 
 javascript error upon reload -- are we supposed to use this plugin or 
 only $:/plugins/bj/small/mdplusdemo. 

 If so, with only the latter, your examples don't render. Perhaps 
 this only works with flexitype installed?

 yes, you need to use $:/plugins/bj/plugins/marked 
>>>
 regards

 On Sunday, 1 November 2015 13:44:15 UTC+2, BJ wrote:
>
> Sorry I didn't update the site properly, that's the wrong (old) 
> plugin. I have updated with new instructions,
> all the best 
> BJ
>
> On Sunday, November 1, 2015 at 5:02:45 AM UTC, Matabele wrote:
>>
>> Hi
>>
>> Doesn't render if I copy across the markdown plugin -- what 
>> tiddler type should I be using?
>>
>> regards
>>
>> On Saturday, 31 October 2015 23:53:04 UTC+2, BJ wrote:
>>>
>>> I have put a 'marked' flavor markdown plugin on bjtools
>>>
>>> http://bjtools.tiddlyspot.com/
>>>
>>>
>>>
>>> On Tuesday, October 27, 2015 at 6:47:33 PM UTC, Richard Edwards 
>>> wrote:

 Hello All,
 Does anyone have or know of a markdown plugin for TiddlyWiki 
 that handles code fence blocks; i.e. something CommonMark-ish or 
 github-ish?
 I might try to make something work, but it would be so much 
 better if someone else already has done so!
 What I really want is to create tiddlers from DITA content, and 
 I'm poking about at markdown as an intermediate conversion format.
 Thanks! -red

>>>