Copy-Paste Tool from Slack to Notion
Project description
sncopy; Copy-Paste Tool from Slack to Notion
It's very stressfull to copy some contents on Slack to Notion because their html are not compatible.
So, when I copy the contents include Bulleted list
or Numbered list
, I have to fix them manually.
What is the difference
These are the sample outputs of copy from Slack and Notion. In short, we will save text as plain text not markdown on Slack.
Case 1 : normal lines
[Original]
Apple
Google
Microsoft
[on Slack]
'Apple\nGoogle\nMicrosoft'
[on Notion]
'Apple\n\nGoogle\n\nMicrosoft'
Case 2 : bulleted lines
[Original]
- Apple
- Google
- Microsoft
[on Slack]
'Apple\nGoogle\nMicrosoft'
[on Notion]
'- Apple\n- Google\n - Microsoft'
Case 3 : numbered lines
[Original]
1. Apple
2. Google
a. Microsoft
[on Slack]
'Apple\nGoogle\nMicrosoft'
[on Notion]
'1. Apple\n1. Google\n 1. Microsoft'
Because Slack will return plain one, we cannot keep the structure of nested lines...
Installation
pip install sncopy
Usage
Basically, you only have to call sncopy
on your terminal after copying your contents on Slack.
This command will automatically convert them to Notion's format.
If you want to convert to bulleted lines, please call sncopy
command with --mode
option.
sncopy --mode bullet
for numbered lines,
sncopy --mode numbered
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 Distribution
File details
Details for the file sncopy-0.1.0.tar.gz
.
File metadata
- Download URL: sncopy-0.1.0.tar.gz
- Upload date:
- Size: 6.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.9.7 Darwin/22.1.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 579a8d087e29d1369151ca4dce77785068d4e6e8ef108cfbc6903631bc287c22 |
|
MD5 | 59c2c1dc683df7484ad73963c14f34b8 |
|
BLAKE2b-256 | ae498d0e83cce2e5a638b74de3d8cf712ad14c669ed7aa0a7d3c7184c8fd1957 |
File details
Details for the file sncopy-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: sncopy-0.1.0-py3-none-any.whl
- Upload date:
- Size: 7.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.9.7 Darwin/22.1.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 88db4e7d8dee1a3740f293a06a68a945b447279ffc8793cf404696ff23d96516 |
|
MD5 | 1a8b19ceba22cbf58c0bf05424b8c6aa |
|
BLAKE2b-256 | 2b9ce33147dfd66c6642974c5de4fda77fc1fb785b8095241761d6a6bfaed5f5 |