Folded in code from Markdown to Clipboard package. Sorry if this is inelegant. I don't know ST package dev, or Python. It works, though. I also included suggested keybindings.