README file from
GithubCSV Refraction for Obsidian Native CSV viewing and editing in Obsidian with Rainbow CSV style highlighting.
I couldn't find an existing Obsidian plugin that offered both Rainbow CSV color coding and the ability to easily view and edit CSV files as either raw source text or a formatted table. So, I built this quickly over an afternoon to solve that problem.
Features
- Source Mode: Edit raw CSV text with Rainbow CSV style highlighting.
- Table Mode: View your CSV data as a clean table with a built-in toggle to edit cell values directly.
- Automatically saves changes directly to the
.csvfile.
Note: The plugin currently only supports strictly comma-separated values (,). Other delimiters like semicolons (;) or tabs are not supported.
Installation
From the Obsidian Community Plugins
- Open Settings in Obsidian.
- Go to Community plugins and click Browse.
- Search for CSV Refraction.
- Click Install and then Enable.
Manual Installation
- Download the latest
main.js,manifest.json, andstyles.cssfrom the GitHub Releases page. - Create a folder named
csv-refractioninside your vault's.obsidian/plugins/directory. - Place the downloaded files into that folder.
- Reload Obsidian and enable the plugin in your settings.
Usage
- Open any
.csvfile in your vault. - Use the view switcher at the top/bottom of the editor to toggle between Source mode and Table mode.
Maintenance & Development
I created this plugin primarily for my own needs and don't plan to actively maintain or develop it heavily. However, if you find it useful and have a suggestion for an easy feature or improvement, feel free to open an issue! I might work on it further in my free time.
P.S. Shoutout to all CSV lovers!