I've also now created a Drafts action and Alfred workflow to insert the
[code] shortcode with the specified language type into whatever I'm writing. Just like the actual WordPress.com shortcode, if no language is entered they default to txt.
Drafts prompts me for the language (php, js, etc.) whereas with Alfred I type the language as part of the command -
code php for example.