The document can now be explicitly named by giving :Draft an argument. In fact
this can currently also be used to rename the document later on, but this could
quickly have unintended side effects for the user, so will probably be changed.
- Check if the buffer is modified before sending any updates
- Add shellescape to the content, as simple stuff like single quotes
(think won't) will quickly trigger sending of faulty JSON
- Check for the curl dependency
- Document the curl dependency in the README
Refactor some more checks to prepare for additional commands.
- Added DraftRename command
- In the process more stuff was refactored, including a separate send
function handling curl
Add DraftRename to README
Merge pull request #2 from larsivi/rename-draft-doc

Rename draft doc