License and Readme and update dependencies.
This commit is contained in:
parent
8dd4cbf912
commit
d9a449d256
4 changed files with 60 additions and 3 deletions
39
README.md
Normal file
39
README.md
Normal file
|
@ -0,0 +1,39 @@
|
|||
ods2md
|
||||
======
|
||||
|
||||
[](https://opensource.org/licenses/MIT)
|
||||
|
||||
Convert LibreOffice Calc Spreadsheets (*.ods) into Markdown tables
|
||||
|
||||

|
||||
|
||||
Install
|
||||
-------
|
||||
|
||||
1. Get Python 3.
|
||||
|
||||
2. (Optional) Create a virtual environment.
|
||||
|
||||
```sh
|
||||
python3 -m venv env
|
||||
. env/bin/activate
|
||||
```
|
||||
|
||||
3. Install `ezodf` for parsing *.ods files
|
||||
|
||||
```sh
|
||||
pip3 -r requirements.txt
|
||||
```
|
||||
|
||||
Usage
|
||||
-----
|
||||
|
||||
```sh
|
||||
./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)
|
Loading…
Add table
Add a link
Reference in a new issue