Guest User

Untitled

a guest
Feb 23rd, 2018
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.85 KB | None | 0 0
  1. ## About
  2. This script will import Markdown files from a folder. It will only import files ending in `.md`, so it skips folders and images. This will use the file name as the note name. If there is a H1 on the first line, it will remove that line and trim the file in order to remove redundancy.
  3.  
  4. ## How to use
  5. 1. Select the notebook you want to import into in the sidebar.
  6. 2. Under Inkdrop, select `Developer > Toggle Developer Tools`.
  7. 3. Paste this script.
  8. 4. Replace `path/to/folder/with/markdown/files/` with a path to the folder with the markdown files in it. Make sure to include the trailing "/".
  9. 5. Ignore the error and please forgive my laziness. If you get a grey screen, just click a few times and the ghost windows will disappear.
  10.  
  11. ## Todo (that probably won't ever be completed)
  12. - [ ] Transferring Bear-style tags
  13. - [ ] Image import
  14. - [ ] Use file chooser
Add Comment
Please, Sign In to add comment