Hi,
I'm sorry if I missed this somewhere in the list or wiki, but I couldn't find it.
If I use "Edit in textmate" to edit text field from another app, is there any way to alter the save function (or to make another key command) to automatically format the markdown text and send back the formatted version. Currently, I write the markdown, preview it in textmate's window, copy and paste it back into the original app. It's not that much work, but I was thinking that if it could be automated, I'd probably use it more often.
Thanks for any advice Jeff
On 28/6/2006, at 4:45, J Fischer wrote:
If I use "Edit in textmate" to edit text field from another app, is there any way to alter the save function (or to make another key command) to automatically format the markdown text and send back the formatted version. Currently, I write the markdown, preview it in textmate's window, copy and paste it back into the original app. It's not that much work, but I was thinking that if it could be automated, I'd probably use it more often.
Not alter save, but doing ⌃⇧H should convert to Markdown in-place, and after that, it’s just ⌘S to save (to send the text back.)
Of course you need to be in Markdown mode for the key (⌃⇧H) to work. This is ⌃⌥⇧M — but if done once for the calling application, it should stick for that app.