Hi Jed, Wonderful! Small issue, seems tiddlers bundled in plugin all have the below contents
``` The <<.def jsontiddlers>> [[macro|Macros]] returns the fields of a [[selection of tiddlers|Title Selection]] in [[JSON|JavaScript Object Notation]] form. An example can be seen in the [[template tiddler for JSON exports|$:/core/templates/exporters/JsonFile]]. !! Parameters ;filter : A [[filter|Filters]] selecting which tiddlers to include ;spaces : An optional number of spaces to use for formatting the JSON. Defaults to 4, with blank or zero resulting in packed JSON with no formatting spaces ``` On Sunday, April 19, 2020 at 1:59:35 PM UTC+4:30, Jed Carty wrote: > > 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/061169e3-bca2-4a9c-8d52-a71e21f9ed6c%40googlegroups.com.