guntrip / table-magic

Converts between CSV, HTML and Markdown. Has a little form editor and a preview.
http://stevecat.net/table-magic/
MIT License
417 stars 38 forks source link

Automatic detection of numeric columns #38

Open laserlemon opened 1 year ago

laserlemon commented 1 year ago

Wouldn't that be rad? So instead of:

Item Price Effects
Vita-Mints 2.10 Will Power +1, Stamina +8, Max Power +2
Digestol 4.95 Will Power +2, Stamina +24, Max Power +6
Recharge! 9.75 Strength +1, Will Power +2, Stamina +56, Max Power +14
Karma Jolt 15.25 Throw +3, Stamina +99, Max Power +24
Omni Elixer 19.95 Punch +2, Will Power +8, Stamina +80, Max Power +20

You'd get:

Item Price Effects
Vita-Mints 2.10 Will Power +1, Stamina +8, Max Power +2
Digestol 4.95 Will Power +2, Stamina +24, Max Power +6
Recharge! 9.75 Strength +1, Will Power +2, Stamina +56, Max Power +14
Karma Jolt 15.25 Throw +3, Stamina +99, Max Power +24
Omni Elixer 19.95 Punch +2, Will Power +8, Stamina +80, Max Power +20
laserlemon commented 1 year ago

As an aside, I copied the table above from a wiki about River City Ransom and just pasted it into table-magic to format it for this issue. So cool.