This tool is used to convert a CSV file to a markdown table inside of an nvim buffer. Once installed,
you can use the <Leader>mt
command. This will request a path to a csv file. The new markdown table will
be inserted wherever you cursor is inside of the buffer.
Customize as you see fit, but the following is how I have mine setup.
- python3
- pip3
- Pandas
- nvim
- a dir called ~/.dotfiles in your home directory
pip3 install pandas
mkdir ~/.dotfiles
Copy the (./csv_to_markdown_table.py) to the root of the .dotfiles directory
copy the contents of the (./config.lua) files to your nvim configuration
- Implement installation and setup via Packer, Lazy.