23maverick23/sublime-jekyll

Publish Draft command?

Closed this issue · 1 comments

It would be great to have a publish draft command that allowed you to select from the drafts and move to the posts (perhaps adding the published flag at that point?) I'd be happy to write up a first shot if that sounds like a feature you'd like to add.

So you're thinking about a command (via Command Palette) that brings up your list of drafts and allows you to select a draft to move into your _posts directory? That shouldn't be too difficult.

Adding support for the published flag might be more difficult, as you'll have to read the first few bytes of the file, parse out the YAML front-matter, analyze for the tag, then replace/add that tag as appropriate. Doable but definitely much more effort ;-)