Convert LibreOffice Calc Spreadsheets (*.ods) into Markdown tables. Clone of https://github.com/kennytm/ods2md with updates
Find a file
2022-02-05 14:56:23 +01:00
test Added test cases. 2017-02-18 23:51:00 +08:00
.gitignore Initial commit 2015-10-20 04:51:25 +08:00
.travis.yml Enable Travis CI 2017-02-19 00:09:45 +08:00
ods2md.py Update ods2md.py 2020-12-01 20:24:48 -05:00
Pipfile Getting ods2md to work 2022-02-05 14:56:23 +01:00
Pipfile.lock Getting ods2md to work 2022-02-05 14:56:23 +01:00
README.md A missing command 2017-07-31 17:59:56 +03:00
requirements.txt Getting ods2md to work 2022-02-05 14:56:23 +01:00
sample.png License and Readme and update dependencies. 2017-02-18 23:20:57 +08:00
test.py Added test cases. 2017-02-18 23:51:00 +08:00

ods2md

License: MIT Build Status

Convert LibreOffice Calc Spreadsheets (*.ods) into Markdown tables

Sample output

Install

  1. Get Python 3.

  2. (Optional) Create a virtual environment.

    python3 -m venv env
    . env/bin/activate
    
  3. Install ezodf for parsing *.ods files

    pip3 install -r requirements.txt
    

Usage

./ods2md.py input_file.ods > output_file.md

Limitations

  • This program disregards all formats. Currencies and percentages will be displayed as plain numbers.
  • Merged cells are not supported, the content will be shown at the first cell (this is actually a limitation of GFM table)