Skip to content
This repository has been archived by the owner on Nov 2, 2023. It is now read-only.

Could you give a little more instructions for setup for someone who does not know python. #35

Closed
emyrold opened this issue May 21, 2021 · 3 comments

Comments

@emyrold
Copy link

emyrold commented May 21, 2021

Hello, I'm on mac and have several hundred markdown files with image directories that I would like to import into notion using your utility, just not sure where to start.

@Cobertos
Copy link
Owner

If the .md files have paths that point at the image files properly, you should just be able to use it with command line commands.

If not, then you would need to do something like the example found in the README, which shows how to pass an imagePathFunc to upload(), so that it can transform the paths to a file that is actually found. What sort of structure of .md/image files are you trying to upload?

@emyrold
Copy link
Author

emyrold commented May 23, 2021 via email

@Cobertos
Copy link
Owner

Cobertos commented May 29, 2021

URL encoding is handled by the script. If the path JavaScript%20Understanding%20the%20Weird%20Parts%20%7C%20Udemy/Screen%20Shot%202018-03-22%20at%209.42.10%20PM.png doesn't match a file on your harddrive relative to the .md file, then the script will not be able to find it.

Setup steps are in the README, see screenshot below:

image

You also need at least Python 3.6+ to run

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants