An utility to upload local images in markdown to sm.ms and convert markdown file correspondingly.
Project description
mdul
It is safe to store images locally when writing markdown but it's not convenient compared to uploading images into cloud. mdul is a utility to upload local images in markdown to sm.ms and convert markdown file correspondingly. It will also convert markdown equation format.
Installation
git clone https://github.com/crh19970307/mdul.git
cd mdul
python setup.py install
Usage
usage: mdul [-h] [--imgdir IMG_DIR] [--input INPUT_FILE]
[--output OUTPUT_FILE] [--key KEY]
optional arguments:
-h, --help show this help message and exit
--imgdir IMG_DIR image folder,note.assets by default
--input INPUT_FILE file to be converted, note.md by default
--output OUTPUT_FILE output file name,note_upload.md by default
--key KEY Secret Token of sm.ms
Secret Token of sm.ms can also be specified in $HOME/.myconfig file such as:
[sm.ms]
put your KEY here
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mdul-0.0.2.tar.gz.
File metadata
- Download URL: mdul-0.0.2.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9309ae6e7aeb499d60e155c9a0e08982c8ca4db322f22b023c4b8ebbedbe4c09
|
|
| MD5 |
ba15d5d699aa46f02441668af98fc46b
|
|
| BLAKE2b-256 |
70856dd50311bb1d0cc93261af49259288d5e35fde0f856f851427b7f7e1b874
|
File details
Details for the file mdul-0.0.2-py3.7.egg.
File metadata
- Download URL: mdul-0.0.2-py3.7.egg
- Upload date:
- Size: 5.6 kB
- Tags: Egg
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
01b6df8cd74a0242f3a880384f7af764bb1b02c5ba7445cb6958ebd0b7e2bfb2
|
|
| MD5 |
505bc5816669a548b895e444d09fceff
|
|
| BLAKE2b-256 |
68d1a0d70a4af46185bbac80349e958f9c345cdf74b224f100330a22d33ffd3c
|
File details
Details for the file mdul-0.0.2-py3-none-any.whl.
File metadata
- Download URL: mdul-0.0.2-py3-none-any.whl
- Upload date:
- Size: 4.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6452507e0f182863025fb714cb725b28accd232812af4c749f63f4da0d5479f5
|
|
| MD5 |
865386355d403a81a12282b2b03393b9
|
|
| BLAKE2b-256 |
83245dd9cee66624748511798fd4ff7eca2eb4d12cc8ead34d3ff186f81d5289
|