Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
23 lines (12 sloc) 2.42 KB

Smart Drag and Drop Support in LightPaper

Added in ver 1.0

In ver 1.0, we added drag-and-drop (DnD) support in LightPaper. DnD in ver 1.1 has got even better and smarter. Now, when you DnD a link or images, it actually inserts the corresponding Markdown tags for them.

One of the things that people struggle with Markdown, and that includes me, is remembering the syntax for inserting images and links. Is it ()[] or []()? LightPaper kind of already helps you with a handy shortcut -- ⌃⇧L for adding a link and ⌃⇧I for adding an image -- but still it is hard to remember those shortcuts.

Often times I've found myself just dragging and dropping links and then "fixing" it. Now with LightPaper 1.1 all you have to do is just select a text (or not) and drop links from your browser address bar or drop your images. What's even better is that you can select multiple texts and then drop your link(s); LightPaper takes care of inserting paths to all those selected texts and preserves the selection(s). Try selecting multiple texts -- press ⌘ and select -- and dropping a URL. Once you are done typing link title, just hit tab or enter key and you'll be taken to the end of the link so that you can continue typing.

gif for link drag-and-drop

Relative Paths for Images

Ver 1.0 not only fixed issues with relative paths for images but also added a way to set any folder as a base folder - right click on a folder from the sidebar and select Set as Base Folder. This helps rendering your images properly if you have your images in a different folder. This is especially helpful with static site generator such as Jekyll.

Ver 1.1 takes this to the next step - when you drag and drop images it "calculates" the paths in relative to your base folder automatically for you. This way you don't have to go and correct your paths.

gif for image drag-and-drop

Please try out this new feature and let me know what you think of it.

If you haven't tried LightPaper yet, go ahead and try a 7 days full feature trial.