[tw5] Including a javascript file verbatim

2020-05-18 Thread Roel Vanhout
Hi, I'm writing a plugin that will let me enter elements easily into my tiddlers. I want to use Video.js for this; this means that I need to include an extra stylesheet and a javascript file. I have the basics working in that I have a plugin that registers a macro and includes the stylesheet.

Re: [tw5] Re: Including a javascript file verbatim

2020-05-18 Thread Roel Vanhout
Thanks for that - it turns out though that when I try to initialize video.js from there, there is some issue with the context of the module imports (I don't really understand) which was discussed on this list a few years ago in the context of the TwTube plugin. So I ended up importing by setting

[tw5] How to publish a plugin?

2020-05-19 Thread Roel Vanhout
Hi all, I've gotten my plugin, to show videos in tiddlywiki with extra functionality so that I can use tiddlywiki for video analysis and annotation, working. I've done this by putting my code and assets in tiddlers in a standalone tiddlywiki, which I view through 'timimi' (I used to rename my

Re: [tw5] Re: How to publish a plugin?

2020-05-22 Thread Roel Vanhout
iddler in the > browser. Once packed, it appears a a plugin in the wiki and can be exported > just like any other tiddler. > > > https://tiddlywiki.com/dev/static/How%2520to%2520create%2520plugins%2520in%2520the%2520browser.html > > Best, > > Joshua F > > On Tuesday, May 19, 2020

[tw5] Button to export tiddlers with search filter in one format

2020-07-08 Thread Roel Vanhout
Hi, I'd like to add a button to a tiddler that, when pressed, will export the tiddlers that match a fixed filter query, and do so in json format. So I basically want a shortcut for putting the filter query into the 'advanced search' box, clicking 'export' and selecting 'json'. I've had a look