On Friday, October 30, 2015 at 9:36:04 AM UTC, Tobias Beer wrote:
>
> Hi Antaeus,
>
> Ah, I was not aware of this yet / or forgot about it / your example also 
> does not appear to be on tiddlywiki.com...
>  
>
>> Tobias - Yes, the intent is to display a section of tab-separated values 
>> or tilde-separated values as a table within a scrollable widget, just as 
>> TiddlyWiki already does out of the box for comma-separated values.  If you 
>> put the following text in a tiddler: 
>
>  
>
> $$$text/csv
>> ,,
>> 1,2
>> 3,4
>> $$$ 
>>
>  
>>
> you see that table of comma-separated values gets neatly displayed as a 
>> table.  I frequently get data that I would really like to see as a 
>> scrollable table, but it's separated by tildes or tabs rather than commas.
>>
>  
> Perhaps we can add options to the syntax like so:
>
> $$$text/csv(separator:"~", option-foo:{{config!!value}}, option-bar:<<
> config-variable>>)
> ,,
> 1,2
> 3,4
> $$$
>  
>
>> What do you think would be the advantage of implementing it as a widget, 
>> rather than as a parser for a ContentType?
>>
>
> Please correct me if I'm wrong, to any wikitext markup there is always an 
> underlying widget. In other words, the functionality would be implemented 
> on the widget layer anyways and only then we'd be amending the wikitext 
> syntax.
>
> Best wishes,
>
> — tb
>

There is a ticket for extending the type:

Introduce vocabulary parameter to wikitext content type

https://github.com/Jermolene/TiddlyWiki5/issues/345


I put in a pull request:

basic vocab stuff - includes changes to wikiparser by buggyj · Pull Request 
#629 · 

https://github.com/Jermolene/TiddlyWiki5/pull/629


<https://github.com/Jermolene/TiddlyWiki5/pull/629>

which lead to my flexitype plugin which is on bjtools:

http://bjtools.tiddlyspot.com/

It allows options to be passed to parsers

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/6fc2ae3a-208a-4a1c-80cf-815be3511739%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to