I've got a few simple plugins that are a pretty good example of what you can do with JS.
* <$calc> widget: https://github.com/mklauber/tiddly-calc It's a total of 3 files, one of which is a cop/pasted library. You can check calc.js to see how to handle creating a custom widget. * [shuffle[]] filter: https://github.com/mklauber/tiddly-shuffle shuffle.js.tid shows how to create a custom filter operator. On Wednesday, January 16, 2019 at 11:43:57 AM UTC-5, Matthew Lauber wrote: > > I'd add to this list: Tinka a plugin packer that can pack things from > within Tiddlywiki https://tinkaplugin.github.io/ > > On Tuesday, January 15, 2019 at 12:45:27 PM UTC-5, Jeremy Ruston wrote: >> >> Hi Joe >> >> Some resources that might be helpful: >> >> * https://tiddlywiki.com/#Plugins contains a brief explanation of what a >> plugin actually is, and how it works >> * >> https://tiddlywiki.com/dev/#Developing%20plugins%20using%20Node.js%20and%20GitHub >> >> <https://tiddlywiki.com/dev/#Developing+plugins+using+Node.js+and+GitHub> >> explains >> how to create plugins under Node.js >> * >> https://tiddlywiki.com/dev/#How%20to%20create%20plugins%20in%20the%20browser >> <https://tiddlywiki.com/dev/#How+to+create+plugins+in+the+browser> is a >> brief guide to creating plugins in the browser >> * https://github.com/Jermolene/TiddlyWiki5/tree/master/plugins/tiddlywiki is >> a list of the official core plugins. Good simple examples include “blog”, >> “comments” and “help" >> >> Best wishes >> >> Jeremy >> >> On 15 Jan 2019, at 11:45, joearms <[email protected]> wrote: >> >> Can anybody recommend a tutorial on how to write a plugin? >> >> Failing a tutorial can anybody point me to the simplest possible >> plugin(s) that I can study? >> >> Possible several examples - with and without javascript etc. >> >> Nothing fancy - I just want to see the essentials and the structure >> >> Thanks >> >> /Joe >> >> -- >> You received this message because you are subscribed to the Google Groups >> "TiddlyWikiDev" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To post to this group, send email to [email protected]. >> Visit this group at https://groups.google.com/group/tiddlywikidev. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/tiddlywikidev/c6790be4-d19c-4808-a258-5a624ce52af5%40googlegroups.com >> >> <https://groups.google.com/d/msgid/tiddlywikidev/c6790be4-d19c-4808-a258-5a624ce52af5%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> >> >> -- You received this message because you are subscribed to the Google Groups "TiddlyWikiDev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/tiddlywikidev. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywikidev/8f107a41-b87d-414f-a90c-4fb67df1bfa7%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
