Hi Antaeus
The easiest and quickest way is to
modify: $:/core/modules/parsers/csvparser.js
replace the string in the line:
var columns = lineText.split(",");
with a regular expression:
var columns = lineText.split(/,|~|\t/);
regards
On Thursday, 29 October 2015 23:21:09 UTC+2, Antaeus Feldspar wrote:
>
> 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.
>
> Jed -
>
> What do you think would be the advantage of implementing it as a widget,
> rather than as a parser for a ContentType?
>
>
--
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/a5639be9-6567-4c86-a43b-6c3c2ecdcee2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.