Skip to content

Latest commit

 

History

History
40 lines (27 loc) · 898 Bytes

README.md

File metadata and controls

40 lines (27 loc) · 898 Bytes

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)