Mat,

I was just reviewing your EditorMagic again and see how it can look up the 
documentation on widgets, what a fantastic feature.

When it comes to EditorMagic insertions;

   - I can see that there is a bit of work to be done to populate it with 
   useful insertions, kind of a sample and generalised syntax's for each 
   widget. 

I raise this because I would like to help, and wonder if they would be 
better as separate tiddlers or an interface to read and edit them were 
available to simplify.

However I now realise there may be an opportunity here.

   - Lets call this the "syntax library" for tiddlywiki widgets and macros
   - I have long desired Tiddlywiki.com to have more generic full syntax 
   examples I can copy to clipboard and use, a single syntax, you delete the 
   parameters you don't need, or a few different ones when they are 
   substantially different forms.
   - If we can agree on a standard that works with editor magic and on 
   tiddlywiki.com the community could build them for the community. Then the 
   latest up to date general syntax could be accessed from a plugin and feed 
   into other solutions including learning editions of tiddlywiki and Editor 
   Magic.
   - I have always maintained there are opportunities to do things so they 
   are benefit driven and reduce the effort of individuals buy building a 
   collective repository on information or in this case syntax statements.
   - Ideally such solution will stop anyone facing an uphill battle to keep 
   across the various syntax options and share the load.

Practical approach

If we had an easy way to generate standalone syntax tiddlers that could be 
submitted for addition to tiddlywiki.com by anyone, and a method on the 
widget documentation to list any such syntax tiddlers inside the 
documentation tiddler (perhaps a tag or equivalent field. This method allow 
more rapid inclusion in to tiddlywiki.com with less oversight needed. A 
simple export to json for all syntax widgets would allow you or anyone else 
to harvest the syntax's.

Even if you want a more compressed list you should be able to 
programaticaly generate you syntax table for this community developed 
resource.

Perhaps later an even larger library of tiddler containing code patterns 
can be developed in a similar way such as recursive macro example, preview 
thumbnails of tiddlers etc...

What are your thoughts?

Regards
TW Tones

On Monday, July 6, 2020 at 6:46:10 PM UTC+10, TW Tones wrote:
>
> Mat,
>
> Not sure what you mean. It does support *invoking *macros and widgets 
>> (even if we'd need some mechanism to collect all macro titles) and there is 
>> support for stamping, e.g like is done in the HTMLtable example (test it by 
>> typing <table ). One could stamp a "skeleton" for e.g a macro but it 
>> really isn't practical because you'd have to exchange every parameter 
>> anyway, leaving only the \define and \end. As for widgets, it could stamp 
>> some JS skeleton I guess but I don't know what that would encompass.
>>
>
> I was just wondering if you had considered it?, not extending features, 
> just as is, you next paragraph describes what I was thinking. 
>  
>
>>
>> BUT, regardless, *the idea is that the user can easily make his own 
>> popup content!* The key feature is really to enable a popup at caret 
>> position that can show any content based on what you just typed in the 
>> editor. I added several examples that are "estimations" of what people will 
>> want, mostly to demo the concept, but the hope is that once it's a plugin, 
>> the community will come up with useful tools and other popup content.
>>
>>
> I like this design approach.
>
> Great Stuff
> TW Tones
>
>>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/e0ba70bc-18f0-4014-97e4-7145705b89ado%40googlegroups.com.

Reply via email to