A cli tool for convert markdown into sheet(xlsx).
Project description
Convert structed markdown content into sheet(XLSX).
Is this for me?
If you want convert a markdown like this:
# Comics
## Detective Comics (DC)
### Batman Family
#### Batman
...
#### Catwoman
...
## Marvel Comics
### Avengers
#### Iron Man
...
#### Captain America
...
into sheet like this:
h1 | h2 | h3 | h4 | h5 |
---|---|---|---|---|
Comics | Detective Comics (DC) | BatmanFamily | Batman | ... |
Comics | Detective Comics (DC) | BatmanFamily | Cat woman | ... |
Comics | Marvel Comics | Avengers | Iron Man | ... |
Comics | Marvel Comics | Avengers | Captain America | ... |
then you are on the right place.
💡Futhuremore, you can use office tools to modifiy the sheet according to your preferences:
Requirements
Python 3.11+
The md2Sheet stands on the shoulders of giants:
Installation
pip install md2sheet
Usage
md2xlsx [OPTIONS] IN_FILE OUT_FILE
Options:
--install-completion
: Install completion for the current shell.--show-completion
: Show completion for the current shell, to copy it or customize the installation.--help
: Show this message and exit.
Arguments:
IN_FILE
: Enter the markdown filepath [required]OUT_FILE
: Enter the xlsx filepath [required]
License
This project is licensed under the terms of the MIT license.
Contract
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
md2sheet-0.2.2.tar.gz
(3.9 kB
view details)
Built Distribution
File details
Details for the file md2sheet-0.2.2.tar.gz
.
File metadata
- Download URL: md2sheet-0.2.2.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.12.1 Linux/6.2.0-1018-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5958dbf1ff8b0b45d86a76065a109740bb782642446e073628cc649718b43c2f |
|
MD5 | 6fa742d4c458fa34f3919240c843cf25 |
|
BLAKE2b-256 | 31afd42c6f8873e5e88eecbcd38544a110ccf94af4ae409553931c8eec71a3ef |
File details
Details for the file md2sheet-0.2.2-py3-none-any.whl
.
File metadata
- Download URL: md2sheet-0.2.2-py3-none-any.whl
- Upload date:
- Size: 4.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.12.1 Linux/6.2.0-1018-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c7941b2344b6a38d11a234e80669abd3ae0b4a5216579e9690c454679112ef64 |
|
MD5 | 4f291286930cd1dcdea0a0a781ed71e5 |
|
BLAKE2b-256 | 812fba7470343ffaa5af154233a662f352220ff54c939e9aafb119125438ee32 |