This release is a pre-release and may not be stable for production use.
Nomark - Notion to markdown exporter
Nomark is the Notion to markdown exporter with image hosting use google drive. Use the notion as a WYSIWYG editor for a static blog with no matter about uploading images.
This readme is also written in notion and exported by using the Nomark. https://abit.ly/nomark-example ← check this
How to use
- Install nomark
pip install nomark
- Download the google drive api token
https://developers.google.com/drive/api/v3/quickstart/python
Visit link to enable google drive api. Click the "Enable the Drive API" and download the credential.json in to ~/.cred/credential.json
- Get your notion api token
You need to obtain your token for using notion api.
Go to http://notion.so and open chrome developer tools. Open "Application" tab → "Storage" → "Cookies" and copy the token_v2 Value.
And export the notion token to variable export NOTION_TOKEN=token_v2_value. Paste it in to ~/.bashrc
- Get notion article url
Set your article shareable and copy the link.
- Run nomark
$ nomark http://www.notion.so/your_article_url
Requirements
python 3.7+
Release files for nomark 0.1b0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| nomark-0.1b0.tar.gz | 8.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| nomark-0.1b0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 28.4 kB
Release files / nomark-0.1b0.tar.gz
| Download URL | nomark-0.1b0.tar.gz |
|---|---|
| Size | 8.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b705b7e04a75c9daf1e73540cd3e44f121a0ce5d1e299a2291fa941a05fc91bb
|
|
BLAKE2b-256 checksum How to use checksums |
5b71ba7ef80d607b604b58c1c74e4eb3f045a28a776b0cf7a2ad6732940b6e58
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.2
|
Release files / nomark-0.1b0-py3-none-any.whl
| Download URL | nomark-0.1b0-py3-none-any.whl |
|---|---|
| Size | 19.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
379ae274d35c3dde822591ccde76532f95e314e8cf68d5e627cdb6ef9f2ccb0d
|
|
BLAKE2b-256 checksum How to use checksums |
0c8247f051c5cbdb54e858fc6912460c88b976e16a26105947ac7941fa5a185d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.2
|