This simple Python script converts CSV files into Markdown-formatted tables. It's useful for creating easy-to-read tables in your Markdown files or GitHub repositories.
- Convert multiple CSV files in a directory to Markdown-formatted tables
- Save the converted tables as text files in a specified output directory
- Python 3.9 or higher
- Docker (optional, if using the Dockerized version)
- Clone this repository:
git clone https://github.com/Nayuengin/csv-to-markdown-table.git
cd csv-to-markdown-table
- Install the required Python packages:
pip install -r requirements.txt
-
Place your CSV files in the
csv
directory. -
Run the script:
python csv_to_markdown_table.py
- The converted Markdown tables will be saved as text files in the
output
directory.
- Clone this repository:
git clone https://github.com/Nayuengin/csv-to-markdown-table.git
cd csv-to-markdown-table
- Build the Docker image:
docker compose build
-
Place your CSV files in the
csv
directory. -
Run the Docker container:
docker compose up
- The converted Markdown tables will be saved as text files in the
output
directory.
This project is licensed under the MIT License. See the LICENSE file for more information.