Making a plugin in a single file wiki is simple, put this in a tiddler then fill out the form, the filter is the filter for what you want to package in the plugin:
``` \define plugintext() { "tiddlers": {<$list filter='[subfilter{$:/state/MakePlugin!!filter}]+[bl[]]'> "<$view field=title format=jsencoded/>": <$text text=<<jsontiddler "jsontiddlers Macro">>/>, </$list> <$list filter='[subfilter{$:/state/MakePlugin!!filter}]+[last[]]'> "<$view field=title format=jsencoded/>": <$text text=<<jsontiddler "jsontiddlers Macro">>/></$list> } } \end Name: <$edit-text tiddler='$:/state/MakePlugin' field='name' class='tc-edit-texteditor'/> Filter: <$edit-text tiddler='$:/state/MakePlugin' field='filter' class='tc-edit-texteditor'/> Description: <$edit-text tiddler='$:/state/MakePlugin' field='description' class='tc-edit-texteditor'/> List: <$edit-text tiddler='$:/state/MakePlugin' field='list' class='tc-edit-texteditor'/> Version: <$edit-text tiddler='$:/state/MakePlugin' field='version' class='tc-edit-texteditor'/> <$button> Make Plugin <$wikify name=pluginText text="<<plugintext>>"> <$action-setfield $tiddler={{$:/state/MakePlugin!!name}} text=<<pluginText>> type='application/json' description={{$:/state/MakePlugin!!description}} core-version=">=5.0.0" dependents="" list={{$:/state/MakePlugin!!list}} plugin-type="plugin" version={{$:/state/MakePlugin!!version}}/> </$wikify> </$button> ``` -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/959b6482-67eb-4aae-a544-26ad92f69186%40googlegroups.com.