Convert LibreOffice Calc Spreadsheets (*.ods) into Markdown tables.
Clone of https://github.com/kennytm/ods2md with updates
c78eea2b00
- convert linefeeds to `<br>` before outputting markdown |
||
---|---|---|
test | ||
.gitignore | ||
.travis.yml | ||
ods2md.py | ||
README.md | ||
requirements.txt | ||
sample.png | ||
test.py |
ods2md
Convert LibreOffice Calc Spreadsheets (*.ods) into Markdown tables
Install
-
Get Python 3.
-
(Optional) Create a virtual environment.
python3 -m venv env . env/bin/activate
-
Install
ezodf
for parsing *.ods filespip3 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)