Hi Bimlas

Try this:

tiddlywiki editions/asciidoctordemo --render "$:/plugins/bimlas/asciidoctor" 
asciidoctor.tid text/plain "$:/core/templates/tid-tiddler" 

I'd recommend using JSON to distribute the plugin:

tiddlywiki editions/asciidoctordemo --render "$:/plugins/bimlas/asciidoctor" 
asciidoctor.json text/plain "$:/core/templates/json-tiddler" 

I prefer JSON because it avoids the limitations of the .tid file format (such 
as the restriction to single line fields), and is more robust because the 
parser will detect many corruptions.

Best wishes

Jeremy.



> On 5 Sep 2018, at 09:37, bimlas <[email protected]> wrote:
> 
> I would like to automate the building of the .tid and .html files of my 
> plugin. Building the HTML works, but I cannot find a way to export the plugin 
> as TID file.
> 
> The plugin source: https://gitlab.com/bimlas/tw5-asciidoctor
> 
> What I tried (from the root directory of the repo):
> 
> $ export TIDDLYWIKI_PLUGIN_PATH=plugins
> $ tiddlywiki editions/asciidoctordemo --render 
> '$:/plugins/bimlas/asciidoctor'  asciidoctor.tid 'text/plain'
> $ tiddlywiki editions/asciidoctordemo --save '$:/plugins/bimlas/asciidoctor' 
> asciidoctor.tid
> $ tiddlywiki editions/asciidoctordemo --savetiddler 
> '$:/plugins/bimlas/asciidoctor' asciidoctor.tid
> 
> All of them generating JSON withouth the necessary fields (title: 
> $:/plugins/bimlas/asciidoctor, plugin-type: plugin, etc.).
> 
> Is it possible to "bundle" my plugin from command line (it works from the 
> export menu of the tiddler in the HTML version)?
> 
> -- 
> 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] 
> <mailto:[email protected]>.
> To post to this group, send email to [email protected] 
> <mailto:[email protected]>.
> Visit this group at https://groups.google.com/group/tiddlywiki 
> <https://groups.google.com/group/tiddlywiki>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/926e70f0-8599-4907-a598-926657689cca%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/tiddlywiki/926e70f0-8599-4907-a598-926657689cca%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.

-- 
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 post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/FE3403DC-8BDB-4C5D-8379-418627C2192D%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to