[tw] Table layout containing tiddlers with specific tag
I've been utilizing TWc for several years, but am looking at possibly updating to TW5. A feature I use in TWc is to generate a list of prior tiddlers in a table format, with the tiddler creation date, tiddler title, tiddler body and tiddler author. The desired outcome is produced in TWc using a tiddler with the following content: script var tag=faq; var hdr=| ''DATE'' | ''NOTE'' | ''AUTHOR'' |\n; var fmt=| %0 |''[[%1]]:'' tiddler [[%1]] | %2 |\n; var tids=store.getTaggedTiddlers(caseNote,'created').reverse(); var out=[hdr]; for (var i=0; itids.length; i++) { var when=tids[i].created.formatString(MM/DD/); var title=tids[i].title; var who=tids[i].modifier; out.push(fmt.format([when,title,who])); } return out.join(''); /script I tried using the script in a TW5 tiddler, but it doesn't work the same. I assume the code works in TWc because of the inline javascript plugin. Is that plugin available for TW5 or is there another way of accomplishing the same thing? ~Roger -- 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 http://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/552557a2-fcdc-4521-849d-3484301cb37c%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[tw] Re: Lists functionality demo
Beautiful! I love being able to keep up with tasks like this without having to use all of gsd5. On Tuesday, August 11, 2015 at 8:45:23 PM UTC+2, c pa wrote: I have created a tiddlyspot site to display where I've gotten in list management The code is fairly robust but needs some more work to bundle it into a plugin. Comments welcome http://cpalists.tiddlyspot.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 tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/5a199d09-4d9d-4f3d-a0aa-6541dad23de5%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[tw] TW5 How to save code? TW5
Hi I've been using TW5 for a year now, mostly for notes concerning Network configuration and Python programming. I haven't been able to find a workaround to save code I can save directly. A simple example: def factorial(n): result = n for i in range(1,n): result *= i return result When saving the tiddler, the indentation and new lines is often lost,- I've tried the tripple quotes to freeze the text without any luck. Any advise? B.R. Jørn -- 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 http://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/bba9f541-4f66-4f4e-b29f-9e5784d765fa%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[tw] Re: [TW5] Inline javascript for private wiki
Thanks for the tip*, Eric ! From my perspective, TW has done away with JS. I have created a couple of widgets, but wasn't very happy with the process. Mostly cut and paste prior widgets, alter, and hope that it works. There's stuff going on in the DOM, and basically you have to take it on faith. Before if I needed to sum up the cost field of a series of tiddlers tagged as Receipts, I could do it. If I wanted to find all the tiddlers with a value above the average for the group, I could do it. If I wanted to list planting dates and calculated germination dates, I could do it. I still don't understand what the security risks are. In general, hackers are better coders than I am. I'm sure they could write a plugin or widget exploit. I would have no hope of wading through a plugin code and detecting the hack. But if I didn't need the plugin -- because I wrote my own summation routine, for instance -- my system would be more secure than having to depend on 3rd party sources. Thanks! *clink,clink On Tuesday, August 11, 2015 at 11:18:39 AM UTC-7, Eric Shulman wrote: On Tuesday, August 11, 2015 at 8:54:54 AM UTC-7, Mark S. wrote: How would I, with TW5 technology, transfer the information from one set of tiddlers to a second set based on a matching field? Or how would I delete several tiddlers at once? You can set things up so you have a delete button (or a transfer button) for a series of tiddlers, but you still have to click each button -- even if you have hundreds. If I'm wrong about this, I would be glad to know! You can delete multiple tiddlers with the $action-deletetiddler widget using a filter=... param, like this: $button $action-deletetiddler $filter=[tag[TableOfContents]]/ Delete tiddlers tagged ~TableOfContents /$button There ought to be some way to make javascript access secure. In any event, as long as the TW is a local file, what is the danger? It couldn't be more dangerous than the executables that people download every day. You just have to be careful what your source is. To me, taking away javascript is like taking the steering wheel out of a car because it might be used in a bank robbery. TW5 has not taken away javascript. You just can't use it *inline*. Instead, you must put your custom javascript code into a tiddler-based modules (widget, macro, library, startup, etc.). This was done specifically to make javascript access secure by providing the TW core with a mechanism to perform consistency and safety checks on the code before allowing it to be incorporated into the runtime environment. -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 post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/edbff043-eef5-4f9c-b7ee-f090880fec87%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[tw] Table layout containing tiddlers with specific tag
For TW5 you use a list widget and html tables like this: table tr th Title /th th Author /th th Date /th /tr $list filter='[tag[Wiki Examples]]' tr td {{!!title}} /td td {{!!modifier}} /td td {{!!created}} /td /tr /$list /table It's not the same layout as your code gives, but it should show how to make tables like that. -- 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 http://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/1eb0bd23-3350-4da4-a78c-2f6336ad4b83%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[tw] Re: [TW5] Applying nth[] to an explicit list
Hi Eric, Thanks a lot for your answer ! It's much simpler and no need to define a new filter. I would never have imagined defining such a macro (myFilter) without matching [. FrD Le mercredi 12 août 2015 20:47:09 UTC+2, Eric Shulman a écrit : On Wednesday, August 12, 2015 at 10:39:01 AM UTC-7, FrD wrote: \define myMacro() one two three \end $set name=test filter=[explicitmyMacronth[2]] test with variable : test /$set This should also work, without needing to define a custom filter: \define myMacro() one two three \define myFilter() $(myMacro)$ +[nth[2]] $set name=test filter=myFilter test with variable : test /$set 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 post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/5187d4b9-78fe-4132-9a5b-ea5e68f02f23%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[tw] Announcing MultiView
MutliView, a simple minded but versatile program for viewing mutliple files, multiple websites, or mutiple tiddlywikis at once. Simply drop the file below into any folder to view its contents in multiple windows. Of course it can be adapted to show any collection of files or websites. However some files cannot be opened by the browser within Multiview. I use it for html,pdf,text,image files, and some video files. Recursion also works quite well. Linked to a tiddler with an Iframe it can also be used within a tiddlywiki. For websites there is the limitation explained by Eric Shulman: Some sites are written to specifically detect and exclude display in a iframe. This is most common for portal sites, search engines, and media/news sites that monetize your eyeballs with banner ads and such. They don't want their site to be embedded on someone else's page because then they can't control the overall viewing experience, and thus can't ensure the context in which their advertiser's content will appear. Regards, TiddlyWiker -- 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 http://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/a62e9bf5-d041-47c4-9ab7-6c330897b429%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. frameset rows=50%,50% cols=50%,50% frame src=./ name=topleft frame src=./ name=topright frame src=./ name=botleft frameset rows=50%,50% frameset cols=50%,50% frame src=./ name=brtl frame src=./ name=brtr /frameset frame src=./ name=botrbot /frameset /frameset
[tw] [TW5] How big can a tiddlywiki file be?
Hi, I have a TW5 with more than 27000 tiddlers, most of of them empty. The TW is ~10Mb and it is a little slow. Saving can take up to 30sec in Firefox without any addon But it is still usable -- 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 http://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/555b3f8a-8187-4442-b4dd-3fa4186de105%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[tw] Re: [TW5] How big can a tiddlywiki file be?
Some of the answer is going to depend on the type of machine you are running. I notice definite lags with my 5meg TW's on a netbook. Not so much on a desktop. In the past we could depend on hardware to constantly improve in terms of speed. In the last half decade that has not been quite as true. Indexed databases could be immense, even on 486 machines. Non-indexed data managers (like TW) hit a wall quickly. I'm guessing that 30megs is the practical upper limit for most home computers. That's still a lot of text. Mark On Tuesday, August 11, 2015 at 8:46:42 PM UTC-7, John wrote: The question was previously asked in 2005. (jeremy) Would like to know how things have changed in 2015 with TW5. I just started using TW yesterday, but how large of a file can TW get to be and still function without hiccups in the *desktop application and in the browser*? For instance, 3 years down the road after Journal entries every day, study notes, etc...(jeremy) Can they all be in one file or should study notes be in one file, journal entries in another and brainstorming ideas in another. Or else does it slow the searches once the file size grows beyond a limit? -- 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 http://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/ba876fb3-297e-497e-99f6-0885910c8624%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[tw] Re: [TW5] Transclusion of the tiddler caption as a description for a link
Hi, Thank you for your answer :) that makes sense, good to know that there are some limitations, well I am aware that there are always some limitations, but good to learn a new thing. PS. I understand the code you provided, but I am curious why you enclose parameters with? The only purpose of that I am familair with is to allow Hard line breaks. http://tiddlywiki.com/static/Hard%2520Linebreaks%2520in%2520WikiText.html Is there any other reason we use it here? Regards, Lukasz -- 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 http://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/1e814831-cd4b-494c-8d66-b682f8a4bb32%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[tw] Re: TW5 How to save code? TW5
Den onsdag den 12. august 2015 kl. 17.49.17 UTC+2 skrev Jørn Madsen: Hi I've been using TW5 for a year now, mostly for notes concerning Network configuration and Python programming. I haven't been able to find a workaround to save code I can save directly. A simple example: def factorial(n): result = n for i in range(1,n): result *= i return result When saving the tiddler, the indentation and new lines is often lost,- I've tried the tripple quotes to freeze the text without any luck. Any advise? B.R. Jørn THANKS !! :-) I've been struggling with this ... reading about plugins and different advanced stuff ... This was a wonderful perfect simple solution. Thanks mate :) Jørn -- 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 http://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/5b6e03e6-0a15-4606-b03a-e251c95b3f88%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [tw] TW5 How to save code? TW5
Am 12.08.2015 um 17:49 schrieb Jørn Madsen: When saving the tiddler, the indentation and new lines is often lost,- I've tried the tripple quotes to freeze the text without any luck. You can always change the type of the tiddler to either text/plain or application/x-python, so that the content isn't run through the wikitext parser. You can also use the highlight plugin to get nice syntax highlighting as well. /Andreas -- 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 http://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/55CB736E.4070002%40googlemail.com. For more options, visit https://groups.google.com/d/optout.
[tw] Re: Announcing MultiView
On Wednesday, August 12, 2015 at 9:47:35 AM UTC+2, TiddlyWiker wrote: MutliView, a simple minded but versatile program for viewing mutliple files, multiple websites, or mutiple tiddlywikis at once. Congratulations! Simple and powerful. Thanks for sharing. -mario -- 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 http://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/0143e8f1-4d66-4634-b5da-8173eab00a3e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[tw] Re: [TW5] Applying nth[] to an explicit list
Hi, I've tried to solve my problem with a new filter which transforms a string of space separated values into something suitable for operators like nth[]. I've called it 'explicit'. Note that I'm not familiar with the internals of filters ! /*\ title: explicit.js type: application/javascript module-type: filteroperator Filter operator for creating explicit input from string \*/ (function(){ /*jslint node: true, browser: true */ /*global $tw: false */ use strict; /* Export our filter function */ exports.explicit = function(source,operator,options) { var str = operator.operand; var results = str.split( ); return results; }; })(); So I can use : $set name=test filter=[explicit[one two three]nth[2]] test : test /$set The result is : test : two But if I try to use a variable it doesn't work any more : \define myMacro() one two three \end $set name=test filter=[explicit[myMacro]nth[2]] test with variable : test /$set So , if someone has a clue .. Thanks in advance FrD Le mardi 11 août 2015 22:55:44 UTC+2, FrD a écrit : -- 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 http://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/f4c37f08-c97c-4db4-b2dc-1208d386fbf8%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[tw] Re: [TW5] Transclusion of the tiddler caption as a description for a link
On Tuesday, August 11, 2015 at 9:40:55 PM UTC+2, Łukasz Hirt wrote: Hello guys, First of all, this is my first post here. I think TW is a great piece of tool, but since I am still beginner I would liek to ask you a question: Hi Lukasz, Welcome to the club :) I would like to use tiddler's caption as a description of a link. I tried two solutions, one works as expected, another one does not work. Iw ould like to know why the other one does not work. SOLUTION 1 - this works as expected creates link to MY_TIDDLER but displays the caption of that tiddler $link to=MY_TIDDLER {{MY_TIDDLER!!caption}} /$link {{}} is the notation for a transclusion. see: http://tiddlywiki.com/#Transclusion and http://tiddlywiki.com/#Transclusion%20in%20WikiText This is the convenience wikitext for the $transclude widget. ... SOLUTION 2 - this one does not work, WHY ? Instead the caption of MY_TIDDLER it displays {{MY_TIDDLER!!caption}} [[{{MY_TIDDLER!!caption}}|MY_TIDDLER]] see: http://tiddlywiki.com/#Linking%20in%20WikiText ... the above notation is a pretty link. As you found out, it treats the first part in the brackets as the pretty link text. The transclusion {{}} is not evaluated. Only the text is used. So the [[]] notation is just a convenience function for the link widget. It makes it faster and easier to write but for some edge cases it is also limited. As you found out. For your behaviour you need the link widget, which gives you maximum flexibility. To make your desired function easier to read and write, you can cover it into a macro. eg: \define myLink(tiddler tooltip:) $link to=$tiddler$ tooltip=$tiddler$$tooltip$ $transclude tiddler =$tiddler$ field=caption $view tiddler =$tiddler$ field=title/ /$transclude /$link \end The above function is a bit more generic. It uses the tiddler title, if there is no caption field. You can use it with: myLink noCaption or myLink tiddler has a caption field lets say the tiddler named noCaption has no caption field. so the title is used lets say the tiddler has a caption field has one so the caption is used. (sorry for the stupid names) have fun! mario -- 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 http://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/ec547096-64e9-4df2-92a5-7cb1647646b5%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[tw] Re: [TW5] How big can a tiddlywiki file be?
Hi John, As long as you don't include too many binary files. eg: large images, pdfs, ... you should be fine. -m -- 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 http://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/df2b9a20-153f-426a-ae41-705a169175ec%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[tw] Re: TW5 How to save code? TW5
Den onsdag den 12. august 2015 kl. 17.49.17 UTC+2 skrev Jørn Madsen: Hi I've been using TW5 for a year now, mostly for notes concerning Network configuration and Python programming. I haven't been able to find a workaround to save code I can save directly. A simple example: def factorial(n): result = n for i in range(1,n): result *= i return result When saving the tiddler, the indentation and new lines is often lost,- I've tried the tripple quotes to freeze the text without any luck. Any advise? B.R. Jørn Thanks again I'm trying and testing, I was stuck,- you're really been helpfull :) B.R. Jørn -- 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 http://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/d8d358df-49b1-45d3-b629-6592cbbfc8c6%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[tw] Re: [TW5] Applying nth[] to an explicit list
Hi, I've found my error : filter=[explicitmyMacronth[2]] instead of : filter=[explicit[myMacro]nth[2]] The correct code is below : \define myMacro() one two three \end $set name=test filter=[explicitmyMacronth[2]] test with variable : test /$set FrD -- 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 http://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/c66509f8-b92a-42e6-a64f-4126d86a610f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[tw] Re: [TW5] Applying nth[] to an explicit list
On Wednesday, August 12, 2015 at 10:39:01 AM UTC-7, FrD wrote: \define myMacro() one two three \end $set name=test filter=[explicitmyMacronth[2]] test with variable : test /$set This should also work, without needing to define a custom filter: \define myMacro() one two three \define myFilter() $(myMacro)$ +[nth[2]] $set name=test filter=myFilter test with variable : test /$set 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 post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/f697c8ca-1d1b-4865-aedc-16f7e8df4d1b%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[tw] Re: TW5 How to save code? TW5
As Andreas said, you could change the tiddler type. Though if you are adding descriptions or annotating, your short example seems to work with the back-ticks. Did you try HTML pre or code tags? Test sample attached. Greg -- 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 http://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/1942276b-d6ef-4143-ad0d-230ef941e95e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. Ways-to-Code.tid Description: Binary data
[tw] Re: [TW5] Transclusion of the tiddler caption as a description for a link
Good question :) Change to code to: $link to=$tiddler$ ... and try to call the following tiddler name: [[asdfasdf]] myLink [[asdfasdf]] or myLink 'asdfasdf' -mario -- 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 http://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/4f1e0932-3be6-46f6-832f-8082cab861c9%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[tw] Re: TW5 How to save code? TW5
Hi Jørn , try this ``` def factorial(n): result = n for i in range(1,n): result *= i return result ``` see: http://tiddlywiki.com/#Code%20Blocks%20in%20WikiText -mario -- 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 http://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/2c56ee44-debe-40fb-8248-1e7bec7dd134%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.