coddingtonbear / obsidian-csv-table

Have a CSV file you want to render some or all of the data from? This plugin allows you to display that data in your obsidian preview.
MIT License
113 stars 5 forks source link

Can't convert csv file into table when separator is semicolon #29

Closed FlameHorizon closed 6 months ago

FlameHorizon commented 1 year ago

Hello,

I have this file which is delimiter is semicolon ";".

a;b;c
1;2;3

I'm using following code but without avail:

csvOptions:
- delimiter: ';'

source: random.csv

image

I've tried also changing single quotes around semicolon into double quotes and over various things, but still, no progress.

It works well if you change the delimiter in the file itself to ",".

Could please point me to right direction how can I make it to working with semicolon? Thanks.

ImN1 commented 12 months ago

@FlameHorizon use this

csvOptions:
  delimiter: ";"

iden before option, it's sub dict format, not list.

jerrygreen commented 6 months ago

It would be cool if there were global options inside extension itself. Don't quite like the idea messing with configs inside the actual notes.