Tony,
 The procedure is using node.js and it is about wikitext plugins not JS!
 It is really simple, simpler than developing in explorer!

 But you are right in the tutorial we should say it is possible to
encapsulate javascripts in plugin!
 perhaps the initial idea was to write plugins in JS.

--Mohammad



Best wishes
Mohammad


On Sun, May 3, 2020 at 6:49 AM TonyM <[email protected]> wrote:

> Mohammad,
>
> Presumably this project is about using javascript functions building
> plugins?
>
> As you may know it is quite easy to build "plugins" without javascript,
> basically as plugin  packages, I am working on multiple methods to do this
> in the single file wikis and there are lots of opportunities.
>
> I am not expecting you do document these necessarily, but I would like to
> to qualify the documentation such as with
> "Building Plugins with Javascript and functions on the TiddlyWiki platform"
>
> You title A simple procedure to create plugins with TW+Node.JS
>
> Is a little misleading when I tell you a very simple method;
>
>    - Drag and drop one or more tiddlers on a wiki including JSON files
>    - Rather than import, rename the $:/import tiddler and delete all
>    fields except plugin-type which you set to plugin
>
> Presto a basic PLUGIN !
>
> Regards
> Tony
>
> On Saturday, 29 February 2020 17:17:40 UTC+11, Mohammad wrote:
>>
>> I am preparing a section in The Book by Luis on creating plugins using TW
>> on Node.JS.
>> While I did by myself many times but I see the default documentation and
>> the way
>> https://tiddlywiki.com/dev/#Developing%20plugins%20using%20Node.js%20and%20GitHub
>> explais
>> is confusing for beginners.
>>
>> I think the procedure should be like this
>>
>>    1. having install node.js
>>    2. having install TW on node.js
>>    3. create the plugin folder
>>    4. develop the plugin tiddlers (normal tiddlers, macros, styles,
>>    modules, ...)
>>    5. pack it
>>    6. export and distribute
>>
>> The procedure SHOULD not rely on other plugins only pure TW distributed
>> officially
>>
>> I appreciate if anybody can share a simple to understand procedure or any
>> resources on this.
>>
>>
>> You help much appreciated.
>>
>> --Mohammad
>>
>>
>> Some references
>>
>>
>>    1.
>>    
>> https://tiddlywiki.com/dev/#Developing%20plugins%20using%20Node.js%20and%20GitHub
>>    2.
>>    
>> https://kookma.github.io/TW-Scripts/#Plugins%20and%20Node.JS%20version%20of%20Tiddlywiki
>>    3.
>>    
>> https://kookma.github.io/TW-Scripts/#Installing%20TiddlyWiki%20on%20Node.js
>>    4.
>>    
>> https://kookma.github.io/TW-Scripts/#TiddlyWikiPluginSkeleton%3A%20Creating%20New%20Plugin
>>    5.
>>    
>> https://kookma.github.io/TW-Scripts/#Plugins%20and%20Node.JS%20version%20of%20Tiddlywiki
>>    6. https://kookma.github.io/TW-Scripts/#How%20to%20Write%20a%20Plugin
>>
>> --
> 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 [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/267337c9-ef3b-4fa4-aa9d-cdf5860cbd82%40googlegroups.com
> <https://groups.google.com/d/msgid/tiddlywiki/267337c9-ef3b-4fa4-aa9d-cdf5860cbd82%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CAAV1gMBwrssR%2Bhw16%2BJ7wcEo8K9A-Dm68B2KwyPMNcSdeojOfw%40mail.gmail.com.

Reply via email to