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:
![use office tools to modify sheet](https://github.com/shangcode/md2sheet/raw/main/docs/img/modifed-with-office-tools.png)
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
![Static Badge](https://img.shields.io/badge/slack---?style=for-the-badge&logo=slack)